diff options
| author | Tom Christie | 2012-08-29 19:54:38 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-08-29 19:54:38 +0100 |
| commit | eea2aa04378d27d79e7aba12ce95c697148bd57e (patch) | |
| tree | 4ae3c67246c45df2b90e32376a067107fda486b2 /examples/urls.py | |
| parent | ecd3733c5e229505baca5a870963f2dd492d6dd7 (diff) | |
| download | django-rest-framework-eea2aa04378d27d79e7aba12ce95c697148bd57e.tar.bz2 | |
Remove examples (to be moved to a seperate project)
Diffstat (limited to 'examples/urls.py')
| -rw-r--r-- | examples/urls.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/examples/urls.py b/examples/urls.py deleted file mode 100644 index fda7942f..00000000 --- a/examples/urls.py +++ /dev/null @@ -1,21 +0,0 @@ -from django.conf.urls.defaults import patterns, include, url -from sandbox.views import Sandbox -try: - from django.contrib.staticfiles.urls import staticfiles_urlpatterns -except ImportError: # Django <= 1.2 - from staticfiles.urls import staticfiles_urlpatterns - - -urlpatterns = patterns('', - (r'^$', Sandbox.as_view()), - (r'^resource-example/', include('resourceexample.urls')), - (r'^model-resource-example/', include('modelresourceexample.urls')), - (r'^mixin/', include('mixin.urls')), - (r'^object-store/', include('objectstore.urls')), - (r'^pygments/', include('pygments_api.urls')), - (r'^blog-post/', include('blogpost.urls')), - (r'^permissions-example/', include('permissionsexample.urls')), - url(r'^restframework/', include('djangorestframework.urls', namespace='djangorestframework')), -) - -urlpatterns += staticfiles_urlpatterns() |
