Fix blog api url to the one used by apps.
[wolnelektury.git] / src / api / urls.py
index 16fdfb7..5ebe3a3 100644 (file)
@@ -33,10 +33,10 @@ urlpatterns = [
         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')),
+    url(r'^pictures/', include('picture.api.urls')),
     url(r'^', include('social.api.urls')),
     url(r'^', include('catalogue.api.urls')),
 ]