site_tps/users/urls.py

26 lines
459 B
Python
Raw Normal View History

from django.urls import path
2018-01-31 10:53:37 +00:00
from .views import (
CreateUser,
CreateUserProfile,
CreateSchool,
)
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'
),
]