diff options
author | luxagraf <sng@luxagraf.net> | 2015-12-03 08:48:38 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-12-03 08:48:38 -0500 |
commit | 99ccbac9e4b96524aa33b5005ce3f7aa029126f6 (patch) | |
tree | bade3b623dad0dbb1240a5e2378030c8a89056ad /app/notes | |
parent | 101eeecf9a562c544a27c08d988f58658b8bc2b4 (diff) |
added namespace to all urls via the new app_name param in url files as
per django 1.10
Diffstat (limited to 'app/notes')
-rw-r--r-- | app/notes/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/notes/urls.py b/app/notes/urls.py index 2bec08f..3f46915 100644 --- a/app/notes/urls.py +++ b/app/notes/urls.py @@ -2,6 +2,8 @@ from django.conf.urls import url from . import views +app_name = "notes" + urlpatterns = [ url( r'(?P<year>\d{4})/(?P<month>\d{2})/(?P<slug>[-\w]+)$', |