2011-02-19 13:26:27 +03:00
|
|
|
from django.conf.urls.defaults import patterns, include, url
|
2011-03-09 11:50:56 +03:00
|
|
|
from django.conf import settings
|
2011-02-19 13:26:27 +03:00
|
|
|
from sandbox.views import Sandbox
|
2012-01-28 22:53:55 +04:00
|
|
|
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
2011-01-30 21:30:39 +03:00
|
|
|
|
2011-05-04 12:21:17 +04:00
|
|
|
urlpatterns = patterns('',
|
2011-02-19 13:26:27 +03:00
|
|
|
(r'^$', Sandbox.as_view()),
|
2011-02-02 01:37:51 +03:00
|
|
|
(r'^resource-example/', include('resourceexample.urls')),
|
2011-02-19 13:26:27 +03:00
|
|
|
(r'^model-resource-example/', include('modelresourceexample.urls')),
|
|
|
|
(r'^mixin/', include('mixin.urls')),
|
2011-01-30 21:30:39 +03:00
|
|
|
(r'^object-store/', include('objectstore.urls')),
|
|
|
|
(r'^pygments/', include('pygments_api.urls')),
|
|
|
|
(r'^blog-post/', include('blogpost.urls')),
|
2011-06-20 03:11:45 +04:00
|
|
|
(r'^permissions-example/', include('permissionsexample.urls')),
|
2011-02-19 13:26:27 +03:00
|
|
|
|
2011-05-04 12:21:17 +04:00
|
|
|
(r'^', include('djangorestframework.urls')),
|
2011-01-24 02:08:16 +03:00
|
|
|
)
|
2011-03-09 11:50:56 +03:00
|
|
|
|
2012-01-28 22:53:55 +04:00
|
|
|
urlpatterns += staticfiles_urlpatterns()
|