diff --git a/src/djangoreactredux/urls.py b/src/djangoreactredux/urls.py index 3b2b3c8d..5a1b674f 100644 --- a/src/djangoreactredux/urls.py +++ b/src/djangoreactredux/urls.py @@ -5,8 +5,8 @@ from base import views as base_views urlpatterns = [ - url(r'^api/v1/accounts/', include('accounts.urls', namespace='accounts')), - url(r'^api/v1/getdata/', include('base.urls', namespace='base')), + url(r'^api/v1/accounts/', include('accounts.urls'), name='accounts'), + url(r'^api/v1/getdata/', include('base.urls'), name='base'), # catch all others because of how history is handled by react router - cache this page because it will never change url(r'', cache_page(settings.PAGE_CACHE_SECONDS)(base_views.IndexView.as_view()), name='index'),