server/ammicossrv/authentication/urls.py
author ymh <ymh.work@gmail.com>
Mon, 08 Jun 2015 09:14:20 +0200
changeset 134 a84aa262847c
parent 117 server/src/authentication/urls.py@41a78460bdac
permissions -rw-r--r--
move src to ammicosrv

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