Commit 4c275653 by Peter Desjardins

Initial commit to push this branch. Starting to add Swagger to the platform.

parent 00448dff
...@@ -929,6 +929,10 @@ INSTALLED_APPS = ( ...@@ -929,6 +929,10 @@ INSTALLED_APPS = (
# Enables default site and redirects # Enables default site and redirects
'django_sites_extensions', 'django_sites_extensions',
# Django-rest-swagger
'rest_framework_swagger',
) )
......
...@@ -55,6 +55,9 @@ urlpatterns = patterns( ...@@ -55,6 +55,9 @@ urlpatterns = patterns(
# Update session view # Update session view
url(r'^lang_pref/session_language', 'lang_pref.views.update_session_language', name='session_language'), url(r'^lang_pref/session_language', 'lang_pref.views.update_session_language', name='session_language'),
# Swagger documentation location
url(r'^docs/', include('rest_framework_swagger.urls')),
) )
# User creation and updating views # User creation and updating views
......
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