Word change.
[wolnelektury.git] / src / catalogue / api / urls.py
index cf73c2c..0f2343d 100644 (file)
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
 #
 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
 #
@@ -15,7 +14,7 @@ urlpatterns = [
     # books by collections
     url(r'^collections/$',
         piwik_track_view(views.CollectionList.as_view()),
     # books by collections
     url(r'^collections/$',
         piwik_track_view(views.CollectionList.as_view()),
-        name="api_collections"),
+        name="catalogue_api_collections"),
     url(r'^collections/(?P<slug>[^/]+)/$',
         piwik_track_view(views.CollectionDetail.as_view()),
         name="collection-detail"),
     url(r'^collections/(?P<slug>[^/]+)/$',
         piwik_track_view(views.CollectionDetail.as_view()),
         name="collection-detail"),