summaryrefslogtreecommitdiff
path: root/config/base_urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/base_urls.py')
-rw-r--r--config/base_urls.py25
1 files changed, 20 insertions, 5 deletions
diff --git a/config/base_urls.py b/config/base_urls.py
index c47f5b5..e5aa79d 100644
--- a/config/base_urls.py
+++ b/config/base_urls.py
@@ -46,15 +46,30 @@ urlpatterns += patterns('',
(r'^googleb11655cd59dacf3c.html$', TemplateView.as_view(template_name='static/gverify.html')),
#(r'^contact/', TemplateView.as_view(template_name='details/contact.html')),
(r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}),
- (r'^jrnl/', include('jrnl.urls', namespace='jrnl')),
+ url(
+ regex=r'^jrnl/',
+ view=include('jrnl.urls', namespace='jrnl')
+ ),
(r'^projects/', include('projects.urls')),
(r'^locations/', include('locations.urls')),
(r'^expenses/', include('expenses.urls')),
(r'^photos/', include('photos.urls')),
- (r'^books/', include('books.urls')),
- (r'^field-notes/', include('notes.urls')),
- (r'^photo/', include('photos.detail_urls')),
- (r'^birds/', include('birds.urls', namespace='birds')),
+ url(
+ regex=r'^books/',
+ view=include('books.urls', namespace='books')
+ ),
+ url(
+ regex=r'^field-notes/',
+ view=include('notes.urls', namespace='notes')
+ ),
+ url(
+ regex=r'^photo/',
+ view=include('photos.detail_urls', namespace='photos')
+ ),
+ url(
+ regex=r'^birds/',
+ view=include('birds.urls', namespace='birds')
+ ),
(r'^travel-guide/', include('guide.urls')),
(r'^src/', include('src.urls', namespace='src')),
(r'^figments/', include('figments.urls')),