Expose an endpoint to identify the API/webclient bases for a particular user.

We fall back to guessing based on the realm if the user doesn't have a
profile in our system

(imported from commit 833885168c451074c885b4422d62986855a215f7)
This commit is contained in:
Luke Faraone
2013-10-23 18:27:52 -04:00
parent a1b44986e0
commit 2d787e952b
4 changed files with 42 additions and 3 deletions

View File

@@ -3,4 +3,5 @@ from django.conf.urls import patterns, url, include
urlpatterns = patterns('zilencer.views',
url('^feedback$', 'rest_dispatch',
{'POST': 'submit_feedback'}),
url('^endpoints$', 'lookup_endpoints_for_user'),
)