server/src/authentication/urls.py
author ymh <ymh.work@gmail.com>
Sun, 07 Jun 2015 22:54:59 +0200
changeset 120 6746ea102e2d
parent 117 41a78460bdac
child 143 ea633c8f9bfa
permissions -rw-r--r--
Added tag V0.1-alpha.0 for changeset 3922b186a5b2

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