mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
14 lines
506 B
Python
14 lines
506 B
Python
from django.conf.urls import patterns, url
|
|
|
|
from PyRIGS.decorators import permission_required_with_403
|
|
|
|
from rigForms import views
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^create/(?P<type_pk>\d+)/for-event/(?P<event_pk>\d+)/$', permission_required_with_403('rigForms.create_form')(views.FormCreate.as_view()),
|
|
name='create_form'),
|
|
url(r'^(?P<pk>\d+)/$', permission_required_with_403('rigForms.update_form')(views.FormUpdate.as_view()),
|
|
name='update_form'),
|
|
)
|
|
|