SmartPicasso/rest-app/smartpicasso/app/user/urls.py

13 lines
300 B
Python
Raw Normal View History

2020-12-01 18:18:44 +01:00
"""
@author: p.dolata
"""
from django.conf.urls import url
from smartpicasso.app.user.views import UserLoginView, UserRegistrationView
2020-12-01 18:18:44 +01:00
urlpatterns = [
url(r'^authenticate', UserLoginView.as_view(), name='authenticate'),
url(r'^register', UserRegistrationView.as_view(), name='register')
2020-12-01 18:18:44 +01:00
]