redirect to /editor/finalize and show edit and signin button
This commit is contained in:
parent
ade73d19a2
commit
66c459ae17
10 changed files with 112 additions and 41 deletions
|
@ -1,10 +1,11 @@
|
|||
from django.conf.urls import url
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
from c3nav.editor.views import add_feature, edit_feature
|
||||
from c3nav.editor.views import add_feature, edit_feature, finalize
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', TemplateView.as_view(template_name='editor/map.html'), name='editor.index'),
|
||||
url(r'^features/(?P<feature_type>[^/]+)/add/$', add_feature, name='editor.feature.add'),
|
||||
url(r'^features/edit/(?P<name>[^/]+)/$', edit_feature, name='editor.feature.edit')
|
||||
url(r'^features/edit/(?P<name>[^/]+)/$', edit_feature, name='editor.feature.edit'),
|
||||
url(r'^finalize/$', finalize, name='editor.finalize')
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue