from django.conf.urls import url
from .views import CreateUserAPIView
from . import views
from .views import TokenAuthentication

app_name = 'users'

urlpatterns = [
    url(r'create/$', CreateUserAPIView.as_view()),
    url(r'token_obtain/$', views.authenticate_user),
    # url(r'login/$', TokenAuthentication.as_view)
]

b1d8c7a9344265a42a04ff5a14bd4bfb8cce4f17
<mask token>

<mask token>
app_name = 'users'
urlpatterns = [url('create/$', CreateUserAPIView.as_view()), url(
    'token_obtain/$', views.authenticate_user)]

from django.conf.urls import url
from .views import CreateUserAPIView
from . import views
from .views import TokenAuthentication
app_name = 'users'
urlpatterns = [url('create/$', CreateUserAPIView.as_view()), url(
    'token_obtain/$', views.authenticate_user)]

from django.conf.urls import url
from .views import CreateUserAPIView
from . import views
from .views import TokenAuthentication

app_name = 'users'

urlpatterns = [
    url(r'create/$', CreateUserAPIView.as_view()),
    url(r'token_obtain/$', views.authenticate_user),
    # url(r'login/$', TokenAuthentication.as_view)
]
