fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5ab80aa
)
fix in api
author
Jan Szejko
<jan.szejko@gmail.com>
Wed, 25 May 2016 10:49:35 +0000
(12:49 +0200)
committer
Jan Szejko
<jan.szejko@gmail.com>
Wed, 25 May 2016 10:49:35 +0000
(12:49 +0200)
src/api/urls.py
patch
|
blob
|
history
diff --git
a/src/api/urls.py
b/src/api/urls.py
index
910d362
..
4452aa2
100644
(file)
--- a/
src/api/urls.py
+++ b/
src/api/urls.py
@@
-58,8
+58,8
@@
urlpatterns = patterns(
incl, name='api_include'),
# info boxes (used by mobile app)
incl, name='api_include'),
# info boxes (used by mobile app)
- url(r'book/(?P<id>\d*?)/info\.html$', 'catalogue.views.book_info'),
- url(r'tag/(?P<id>\d*?)/info\.html$', 'catalogue.views.tag_info'),
+ url(r'book/(?P<
book_
id>\d*?)/info\.html$', 'catalogue.views.book_info'),
+ url(r'tag/(?P<
tag_
id>\d*?)/info\.html$', 'catalogue.views.tag_info'),
# books by collections
url(r'^collections/$', collection_list_resource, name="api_collections"),
# books by collections
url(r'^collections/$', collection_list_resource, name="api_collections"),