fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dd85755
)
Fix blog api url to the one used by apps.
author
Radek Czajka
<rczajka@rczajka.pl>
Thu, 14 Feb 2019 22:04:42 +0000
(23:04 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 14 Feb 2019 22:04:42 +0000
(23:04 +0100)
src/api/urls.py
patch
|
blob
|
history
diff --git
a/src/api/urls.py
b/src/api/urls.py
index
9c8dab2
..
5ebe3a3
100644
(file)
--- a/
src/api/urls.py
+++ b/
src/api/urls.py
@@
-33,7
+33,7
@@
urlpatterns = [
piwik_track_view(views.UserView.as_view()),
name='api_username'),
piwik_track_view(views.UserView.as_view()),
name='api_username'),
- url(r'^blog
/
$',
+ url(r'^blog$',
piwik_track_view(views.BlogView.as_view())),
url(r'^pictures/', include('picture.api.urls')),
piwik_track_view(views.BlogView.as_view())),
url(r'^pictures/', include('picture.api.urls')),