| author | nowmad@23.1.168.192.in-addr.arpa |
| Wed, 02 Dec 2015 19:39:16 +0100 | |
| changeset 203 | 786cdb826f09 |
| parent 149 | 8e117699857a |
| permissions | -rw-r--r-- |
| 51 | 1 |
from django.conf.urls import patterns, url |
2 |
||
| 135 | 3 |
from ammicosrv.authentication.views import User, ObtainAuthToken |
| 51 | 4 |
|
5 |
||
6 |
urlpatterns = patterns('', |
|
7 |
url(r'^user', User.as_view()), |
|
|
108
4a152f5f4a09
update user model to authenticate with the email as username
rougeronj
parents:
61
diff
changeset
|
8 |
url(r'^api-token-auth', ObtainAuthToken.as_view()), |
| 51 | 9 |
) |