site_tps/users/urls.py
2018-01-31 11:17:31 +01:00

16 lines
330 B
Python

from django.urls import path
from .views import CreateUser, CreateUserProfile
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'
)
]