SMART-38 register registration endpoint

This commit is contained in:
s460930 2020-12-01 22:51:14 +01:00
parent 63307a8388
commit 516365cbc6

View File

@ -4,8 +4,9 @@
from django.conf.urls import url from django.conf.urls import url
from smartpicasso.app.user.views import UserLoginView from smartpicasso.app.user.views import UserLoginView, UserRegistrationView
urlpatterns = [ urlpatterns = [
url(r'^authenticate', UserLoginView.as_view(), name='authenticate') url(r'^authenticate', UserLoginView.as_view(), name='authenticate'),
url(r'^register', UserRegistrationView.as_view(), name='register')
] ]