Commit abfe0786 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: Set tokens api endpoint name in urls

in order to be able to use django reverse mechanism to resolve the endpoint
path.
parent 0e535616
......@@ -35,5 +35,5 @@ from django.conf.urls.defaults import patterns, url
urlpatterns = patterns(
'astakos.api.tokens',
url(r'^v2.0/tokens/?$', 'authenticate'),
url(r'^v2.0/tokens/?$', 'authenticate', name='tokens_authenticate'),
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment