Commit 7b8306de authored by Kostas Papadimitriou's avatar Kostas Papadimitriou Committed by Vangelis Koukis
Browse files

Usedata urls fix

parent aba2e61d
......@@ -561,6 +561,8 @@ We welcome any suggestions, questions and bug reports you may have.{% endblocktr
// TODO: make it dynamic
synnefo.config.api_url = '/api/v1.1';
// TODO: configurable userdata urls in models.js
synnefo.config.userdata_url = '/ui/userdata';
synnefo.config.logout_url = '{{ logout_redirect }}';
synnefo.config.userdata_keys_url = '{% url keys_collection %}';
synnefo.config.userdata_keys_limit = {{ userdata_keys_limit }};
......
......@@ -42,7 +42,7 @@ urlpatterns = patterns('',
url(r'^feedback$', 'synnefo.ui.views.feedback_submit', name='feedback'),
url(r'^static/(.*)$', 'django.views.static.serve',
{'document_root': os.path.join(os.path.dirname(__file__), 'static')}),
url(r'ui/userdata/', include('synnefo.ui.userdata.urls'))
url(r'userdata/', include('synnefo.ui.userdata.urls'))
)
if settings.DEBUG or settings.TEST:
......
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