Fix blog api url to the one used by apps.
authorRadek Czajka <rczajka@rczajka.pl>
Thu, 14 Feb 2019 22:04:42 +0000 (23:04 +0100)
committerRadek Czajka <rczajka@rczajka.pl>
Thu, 14 Feb 2019 22:04:42 +0000 (23:04 +0100)
src/api/urls.py

index 9c8dab2..5ebe3a3 100644 (file)
@@ -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')),