| changeset 135 | 27065f8a19d3 |
| parent 134 | a84aa262847c |
| child 149 | 8e117699857a |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/server/ammicosrv/authentication/urls.py Mon Jun 08 09:36:41 2015 +0200 @@ -0,0 +1,10 @@ +from django.conf.urls import patterns, url +from rest_framework.authtoken import views + +from ammicosrv.authentication.views import User, ObtainAuthToken + + +urlpatterns = patterns('', + url(r'^user', User.as_view()), + url(r'^api-token-auth', ObtainAuthToken.as_view()), +)