from django.conf.urls import patterns, url
from rest_framework.authtoken import views
from authentication.views import User, AuthView
urlpatterns = patterns('',
url(r'^user', User.as_view()),
url(r'^auth', AuthView.as_view(), name='auth-view'),
url(r'^api-token-auth', views.obtain_auth_token)
)