server/authentication/urls.py
author rougeronj
Thu, 04 Jun 2015 20:12:49 +0200
changeset 116 6803d581ff19
parent 108 4a152f5f4a09
permissions -rw-r--r--
update config.tmpl and add auth_Jamespot (so jamespot can send us a jwt and log in automatically)

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