SMART-30 registered user login url
This commit is contained in:
parent
5065f040fa
commit
56cada3122
Binary file not shown.
Binary file not shown.
Binary file not shown.
11
rest-app/smartpicasso/app/user/urls.py
Normal file
11
rest-app/smartpicasso/app/user/urls.py
Normal 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())
|
||||
]
|
@ -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),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user