Skip to content

Instantly share code, notes, and snippets.

@hodgestar
Created October 16, 2014 07:43
Show Gist options
  • Save hodgestar/7ec3d6d09be7ee5bbe2c to your computer and use it in GitHub Desktop.
Save hodgestar/7ec3d6d09be7ee5bbe2c to your computer and use it in GitHub Desktop.
diff --git a/imaliyethu/urls.py b/imaliyethu/urls.py
index 3797806..86a6c3f 100644
--- a/imaliyethu/urls.py
+++ b/imaliyethu/urls.py
@@ -11,6 +11,7 @@ urlpatterns = patterns(
url(r'^toilet_codes/', include('imaliyethu.toilet_codes.urls')),
url(r'^api-auth/', include(
'rest_framework.urls', namespace='rest_framework')),
- url(r'^snappy/', include(
- 'snappybouncer.urls', namespace='snappybouncer')),
+ # TastyPie breaks if a namespace is set. See
+ # https://github.com/toastdriven/django-tastypie/issues/24
+ url(r'^snappy/', include('snappybouncer.urls')),
)
@rudigiesler
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment