Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix bug 770494] Disable APIv1 for now.

Just by commenting out the API in, we make it inaccessible, but
easy to turn back on if we need to.
  • Loading branch information...
commit 94c941d3c9371c17bd9d91c9a6a71ba338844e6c 1 parent 807e89a
James Socol authored
Showing with 3 additions and 3 deletions.
  1. +3 −3
@@ -15,8 +15,8 @@
# Monkey patch the default serializer to also provide a to_html view.
api.Serializer = common.api.HTMLSerializer
-v1_api = Api(api_name='v1')
+# v1_api = Api(api_name='v1')
+# v1_api.register(users.api.UserProfileResource())
def error_page(request, template, status=None):
@@ -35,7 +35,7 @@ def error_page(request, template, status=None):
urlpatterns = patterns('',
- url(r'^api/', include(v1_api.urls)),
+ # url(r'^api/', include(v1_api.urls)),
(r'', include('users.urls')),
(r'', include('groups.urls')),
Please sign in to comment.
Something went wrong with that request. Please try again.