Drafts: Fix urlconf bug introduced in 07f9bed0
This commit is contained in:
parent
edf62268aa
commit
3b79d377ef
@ -16,12 +16,15 @@ urlpatterns = [
|
||||
url(r'^case-study/create/success/?$', views.CreateCaseStudySuccess.as_view(), name='form-success'),
|
||||
url(r'^case-study/edit/(?P<pk>[\d]+)/?$', views.EditCaseStudy.as_view(), name='edit'),
|
||||
|
||||
# Case study drafts
|
||||
url(r'^case-study/draft/?$', views.DraftsAPI.as_view(), name='drafts'),
|
||||
|
||||
# View case studies
|
||||
# This should be last so that the above options will be tried first!
|
||||
url(r'^case-study/(?P<slug>[-\w]+)/?$', views.ViewCaseStudyDetail.as_view(), name='detail'),
|
||||
url(r'^map/?$', views.Map.as_view(), name='map'),
|
||||
|
||||
# API
|
||||
url(r'^case-study/draft/?$', views.DraftsAPI.as_view(), name='drafts'),
|
||||
url(r'^jsi18n/$', JavaScriptCatalog.as_view(), name='javascript-catalogue'),
|
||||
url(r'^srs-autocomplete/$', views.SpatialRefSysAutocomplete.as_view(), name='srs-autocomplete'),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user