fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Poprawienie requirements.txt (w tym podwyższenie wymaganej wersji Django do 1.1.1...
[redakcja.git]
/
project
/
templates
/
manager
/
pull_request.html
diff --git
a/project/templates/manager/pull_request.html
b/project/templates/manager/pull_request.html
index
c902da9
..
c2964c2
100644
(file)
--- a/
project/templates/manager/pull_request.html
+++ b/
project/templates/manager/pull_request.html
@@
-11,7
+11,7
@@
var row = $('#request-' +id);
$.ajax({
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) {
dataType: 'json',
type: 'GET',
success: function(data) {
@@
-35,7
+35,7
@@
$.ajax({
$.ajax({
- url: '{% url pullrequest_list
%}/'+id,
+ url: '{% url pullrequest_list %}/'+id,
data: {action: 'accept'},
dataType: 'json',
type: 'PUT',
data: {action: 'accept'},
dataType: 'json',
type: 'PUT',