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 | |
parent | 101eeecf9a562c544a27c08d988f58658b8bc2b4 (diff) |
added namespace to all urls via the new app_name param in url files as
per django 1.10
-rw-r--r-- | app/birds/urls.py | 2 | ||||
-rw-r--r-- | app/books/urls.py | 2 | ||||
-rw-r--r-- | app/expenses/urls.py | 1 | ||||
-rw-r--r-- | app/figments/urls.py | 2 | ||||
-rw-r--r-- | app/notes/urls.py | 2 | ||||
-rw-r--r-- | app/photos/urls.py | 2 | ||||
-rw-r--r-- | app/resume/urls.py | 2 | ||||
-rw-r--r-- | app/src/urls.py | 1 |
8 files changed, 14 insertions, 0 deletions
diff --git a/app/birds/urls.py b/app/birds/urls.py index 8b1618c..8781433 100644 --- a/app/birds/urls.py +++ b/app/birds/urls.py @@ -2,6 +2,8 @@ from django.conf.urls import url from django.views.generic.base import RedirectView from . import views +app_name = "birds" + urlpatterns = [ url( r'(?P<user>[\w]+)/(?P<page>\d+)/', diff --git a/app/books/urls.py b/app/books/urls.py index c05fed7..be075ab 100644 --- a/app/books/urls.py +++ b/app/books/urls.py @@ -3,6 +3,8 @@ from django.views.generic.base import RedirectView from . import views +app_name = "books" + urlpatterns = [ url( r'(?P<page>\d+)/$', diff --git a/app/expenses/urls.py b/app/expenses/urls.py index 698ac07..6b146c3 100644 --- a/app/expenses/urls.py +++ b/app/expenses/urls.py @@ -1,6 +1,7 @@ from django.conf.urls import url from . import views +app_name = "expenses" urlpatterns = [ url( diff --git a/app/figments/urls.py b/app/figments/urls.py index 9e624aa..1bc02a0 100644 --- a/app/figments/urls.py +++ b/app/figments/urls.py @@ -2,6 +2,8 @@ from django.conf.urls import url from . import views +app_name = "figments" + urlpatterns = [ url( r'^feed.xml', 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]+)$', diff --git a/app/photos/urls.py b/app/photos/urls.py index 7d074a9..78acb1c 100644 --- a/app/photos/urls.py +++ b/app/photos/urls.py @@ -3,6 +3,8 @@ from django.views.generic.base import RedirectView from . import views +app_name = "photos" + urlpatterns = [ url( r'data/(?P<slug>[-\w]+)/$', diff --git a/app/resume/urls.py b/app/resume/urls.py index 3e113e8..ce9c435 100644 --- a/app/resume/urls.py +++ b/app/resume/urls.py @@ -3,6 +3,8 @@ from django.views.generic.base import RedirectView from . import views +app_name = "resume" + urlpatterns = [ url( r'pubs/(?P<page>\d+)/$', diff --git a/app/src/urls.py b/app/src/urls.py index 37e4774..b8ea1a2 100644 --- a/app/src/urls.py +++ b/app/src/urls.py @@ -2,6 +2,7 @@ from django.conf.urls import url, include from . import views +app_name = "src" urlpatterns = [ url( |