started work on the event form

This commit is contained in:
Tom Price
2014-12-01 21:56:00 +00:00
parent e131edd89f
commit cccac01184
3 changed files with 359 additions and 1 deletions

View File

@@ -64,5 +64,9 @@ urlpatterns = patterns('',
url(r'^event/(?P<pk>\d+)/edit/$',
permission_required_with_403('RIGS.change_event')(rigboard.EventUpdate.as_view()),
name='event_update'),
# API
url(r'^api/(?P<model>\w+)/$', (views.SecureAPIRequest.as_view()), name="api_secure"),
url(r'^api/(?P<model>\w+)/(?P<pk>\d+)/$', (views.SecureAPIRequest.as_view()), name="api_secure"),
)