Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/djangoreactredux/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down