develop #4
@ -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')
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user