SMART-30 registered user login url

This commit is contained in:
s460930 2020-12-01 18:18:44 +01:00
parent 5065f040fa
commit 56cada3122
5 changed files with 13 additions and 1 deletions

Binary file not shown.

View File

@ -0,0 +1,11 @@
"""
@author: p.dolata
"""
from django.conf.urls import url
from smartpicasso.app.user.views import UserLoginView
urlpatterns = [
url(r'^authenticate', UserLoginView.as_view())
]

View File

@ -14,8 +14,9 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.urls import path, include
urlpatterns = [
path('api/', include('smartpicasso.app.user.urls')),
path('admin/', admin.site.urls),
]