from django.conf.urls import url, include

from . import views

app_name = 'misc'

subjectsector_patterns = ([
    url(r'^create$', views.SubjectSectorCreate.as_view(), name='create'),
    url(r'^(?P<pk>[0-9]+)/$', views.SubjectSectorDetail.as_view(), name='detail'),
    url(r'^(?P<pk>[0-9]+)/update$', views.SubjectSectorUpdate.as_view(), name='update'),
    url(r'^(?P<pk>[0-9]+)/delete', views.SubjectSectorDelete.as_view(), name='delete'),
    url(r'^$', views.SubjectSectorList.as_view(), name='list'),
], 'subject-sector')

faculty_patterns = ([
    url(r'^create$', views.FacultyCreate.as_view(), name='create'),
    url(r'^(?P<pk>[0-9]+)/$', views.FacultyDetail.as_view(), name='detail'),
    url(r'^(?P<pk>[0-9]+)/update$', views.FacultyUpdate.as_view(), name='update'),
    url(r'^(?P<pk>[0-9]+)/delete', views.FacultyDelete.as_view(), name='delete'),
    url(r'^$', views.FacultyList.as_view(), name='list'),
], 'faculty')

urlpatterns = [
    url(r'^subject-sector/', include(subjectsector_patterns)),
    url(r'^faculty/', include(faculty_patterns)),
]

3aa9acd395f35e56462c99f882bdc134bba054cb
<mask token>

<mask token>
app_name = 'misc'
subjectsector_patterns = [url('^create$', views.SubjectSectorCreate.as_view
    (), name='create'), url('^(?P<pk>[0-9]+)/$', views.SubjectSectorDetail.
    as_view(), name='detail'), url('^(?P<pk>[0-9]+)/update$', views.
    SubjectSectorUpdate.as_view(), name='update'), url(
    '^(?P<pk>[0-9]+)/delete', views.SubjectSectorDelete.as_view(), name=
    'delete'), url('^$', views.SubjectSectorList.as_view(), name='list')
    ], 'subject-sector'
faculty_patterns = [url('^create$', views.FacultyCreate.as_view(), name=
    'create'), url('^(?P<pk>[0-9]+)/$', views.FacultyDetail.as_view(), name
    ='detail'), url('^(?P<pk>[0-9]+)/update$', views.FacultyUpdate.as_view(
    ), name='update'), url('^(?P<pk>[0-9]+)/delete', views.FacultyDelete.
    as_view(), name='delete'), url('^$', views.FacultyList.as_view(), name=
    'list')], 'faculty'
urlpatterns = [url('^subject-sector/', include(subjectsector_patterns)),
    url('^faculty/', include(faculty_patterns))]

from django.conf.urls import url, include
from . import views
app_name = 'misc'
subjectsector_patterns = [url('^create$', views.SubjectSectorCreate.as_view
    (), name='create'), url('^(?P<pk>[0-9]+)/$', views.SubjectSectorDetail.
    as_view(), name='detail'), url('^(?P<pk>[0-9]+)/update$', views.
    SubjectSectorUpdate.as_view(), name='update'), url(
    '^(?P<pk>[0-9]+)/delete', views.SubjectSectorDelete.as_view(), name=
    'delete'), url('^$', views.SubjectSectorList.as_view(), name='list')
    ], 'subject-sector'
faculty_patterns = [url('^create$', views.FacultyCreate.as_view(), name=
    'create'), url('^(?P<pk>[0-9]+)/$', views.FacultyDetail.as_view(), name
    ='detail'), url('^(?P<pk>[0-9]+)/update$', views.FacultyUpdate.as_view(
    ), name='update'), url('^(?P<pk>[0-9]+)/delete', views.FacultyDelete.
    as_view(), name='delete'), url('^$', views.FacultyList.as_view(), name=
    'list')], 'faculty'
urlpatterns = [url('^subject-sector/', include(subjectsector_patterns)),
    url('^faculty/', include(faculty_patterns))]

from django.conf.urls import url, include

from . import views

app_name = 'misc'

subjectsector_patterns = ([
    url(r'^create$', views.SubjectSectorCreate.as_view(), name='create'),
    url(r'^(?P<pk>[0-9]+)/$', views.SubjectSectorDetail.as_view(), name='detail'),
    url(r'^(?P<pk>[0-9]+)/update$', views.SubjectSectorUpdate.as_view(), name='update'),
    url(r'^(?P<pk>[0-9]+)/delete', views.SubjectSectorDelete.as_view(), name='delete'),
    url(r'^$', views.SubjectSectorList.as_view(), name='list'),
], 'subject-sector')

faculty_patterns = ([
    url(r'^create$', views.FacultyCreate.as_view(), name='create'),
    url(r'^(?P<pk>[0-9]+)/$', views.FacultyDetail.as_view(), name='detail'),
    url(r'^(?P<pk>[0-9]+)/update$', views.FacultyUpdate.as_view(), name='update'),
    url(r'^(?P<pk>[0-9]+)/delete', views.FacultyDelete.as_view(), name='delete'),
    url(r'^$', views.FacultyList.as_view(), name='list'),
], 'faculty')

urlpatterns = [
    url(r'^subject-sector/', include(subjectsector_patterns)),
    url(r'^faculty/', include(faculty_patterns)),
]
