2018-01-31 09:15:51 +00:00
|
|
|
from django.urls import path
|
2018-01-31 10:53:37 +00:00
|
|
|
from .views import (
|
|
|
|
CreateUser,
|
|
|
|
CreateUserProfile,
|
|
|
|
CreateSchool,
|
|
|
|
)
|
2018-01-31 09:15:51 +00:00
|
|
|
|
|
|
|
app_name = 'users'
|
|
|
|
urlpatterns = [
|
|
|
|
path(
|
|
|
|
'user/new',
|
|
|
|
CreateUser.as_view(),
|
|
|
|
name='new-user'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'user/<int:pk>/set_school',
|
|
|
|
CreateUserProfile.as_view(),
|
|
|
|
name='create-userprofile'
|
2018-01-31 10:53:37 +00:00
|
|
|
),
|
|
|
|
path(
|
|
|
|
'school/new',
|
|
|
|
CreateSchool.as_view(),
|
|
|
|
name='new-school'
|
|
|
|
),
|
2018-01-31 09:15:51 +00:00
|
|
|
]
|