| changeset 108 | 4a152f5f4a09 |
| parent 61 | 5abd0a9eafbc |
| 107:1e18c880021e | 108:4a152f5f4a09 |
|---|---|
4 from authentication.views import User, ObtainAuthToken |
4 from authentication.views import User, ObtainAuthToken |
5 |
5 |
6 |
6 |
7 urlpatterns = patterns('', |
7 urlpatterns = patterns('', |
8 url(r'^user', User.as_view()), |
8 url(r'^user', User.as_view()), |
9 url(r'^api-token-auth', ObtainAuthToken.as_view()) |
9 url(r'^api-token-auth', ObtainAuthToken.as_view()), |
10 ) |
10 ) |