mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 10:20:39 +01:00
Feature: Add user-creation for UserViewSet
This commit is contained in:
committed by
Isaac Bythewood
parent
a8e1a513b1
commit
e634c2d4d8
@@ -1,11 +1,10 @@
|
||||
from django.conf.urls import url
|
||||
from django.conf.urls import url, include
|
||||
|
||||
from users.views import login_user
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^private/$', views.private, name='private'),
|
||||
url(r'^register/$', views.CreateUser.as_view(), name='register'),
|
||||
url(r'', include(views.drf_router.urls)),
|
||||
url(r'^login/$', login_user, name='login'),
|
||||
url(r'^logout/$', views.logout_user, name='logout'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user