site_tps/users/urls.py

17 lines
330 B
Python
Raw Normal View History

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'
)
]