diff options
Diffstat (limited to 'archaeological_files_pdl/urls.py')
-rw-r--r-- | archaeological_files_pdl/urls.py | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/archaeological_files_pdl/urls.py b/archaeological_files_pdl/urls.py index 6acb6129d..186135b93 100644 --- a/archaeological_files_pdl/urls.py +++ b/archaeological_files_pdl/urls.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (C) 2014 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> @@ -22,14 +22,24 @@ from django.conf.urls import url from archaeological_files_pdl import views urlpatterns = [ - url(r'file_creation/(?P<step>.+)?$', - views.file_creation_wizard, name='file_creation'), - url(r'file_modification/(?P<step>.+)?$', - views.file_modification_wizard, name='file_modification'), - url(r'townplanning-edit/$', + url( + r"file_creation/(?P<step>.+)?$", + views.file_creation_wizard, + name="file_creation", + ), + url( + r"file_modification/(?P<step>.+)?$", + views.file_modification_wizard, + name="file_modification", + ), + url( + r"townplanning-edit/$", views.TownPlanningCreate.as_view(), - name='townplanning_create'), - url(r'townplanning-edit/(?P<pk>\d+)$', + name="townplanning_create", + ), + url( + r"townplanning-edit/(?P<pk>\d+)$", views.TownPlanningEdit.as_view(), - name='townplanning_edit'), + name="townplanning_edit", + ), ] |