server/src/authentication/urls.py
author ymh <ymh.work@gmail.com>
Mon, 08 Jun 2015 00:12:29 +0200
changeset 122 06eb56740bc5
parent 117 41a78460bdac
child 143 ea633c8f9bfa
permissions -rw-r--r--
Added tag V0.1-alpha.0 for changeset cc05aad7e6b8

from django.conf.urls import patterns, url
from rest_framework.authtoken import views

from authentication.views import User, ObtainAuthToken


urlpatterns = patterns('',
    url(r'^user', User.as_view()),
    url(r'^api-token-auth', ObtainAuthToken.as_view()),
)