Again!
authorŁukasz Rekucki <lrekucki@gmail.com>
Thu, 8 Oct 2009 15:36:10 +0000 (17:36 +0200)
committerŁukasz Rekucki <lrekucki@gmail.com>
Thu, 8 Oct 2009 15:36:10 +0000 (17:36 +0200)
project/templates/manager/pull_request.html

index 20e47fa..c2964c2 100644 (file)
@@ -11,7 +11,7 @@
             var row = $('#request-' +id);
 
             $.ajax({
-                url: "http://localhost:8000/api/pull-requests/" + id,                
+                url: '{% url pullrequest_list %}/'+id,
                 dataType: 'json',
                 type: 'GET',
                 success: function(data) {