server/src/authentication/urls.py
author ymh <ymh.work@gmail.com>
Fri, 05 Jun 2015 16:10:12 +0200
changeset 117 41a78460bdac
parent 108 server/authentication/urls.py@4a152f5f4a09
child 143 ea633c8f9bfa
permissions -rw-r--r--
reorg src server

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()),
)