| changeset 134 | a84aa262847c |
| parent 117 | 41a78460bdac |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/server/ammicossrv/authentication/urls.py Mon Jun 08 09:14:20 2015 +0200 @@ -0,0 +1,10 @@ +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()), +)