git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
portal: added wip for PI validation page
[unfold.git]
/
myslice
/
urls.py
diff --git
a/myslice/urls.py
b/myslice/urls.py
index
b37ee50
..
ef1f30c
100644
(file)
--- a/
myslice/urls.py
+++ b/
myslice/urls.py
@@
-1,4
+1,5
@@
from django.conf.urls import patterns, include, url
from django.conf.urls import patterns, include, url
+from django.conf import settings
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
@@
-49,7
+50,12
@@
urlpatterns = patterns(
(r'^slice/(?P<slicename>[\w\.]+)/?$', 'trash.sliceview.slice_view'),
# Portal
url(r'^portal/', include('portal.urls')),
(r'^slice/(?P<slicename>[\w\.]+)/?$', 'trash.sliceview.slice_view'),
# Portal
url(r'^portal/', include('portal.urls')),
+ # Portal
+ url(r'^sample/', include('sample.urls')),
# Debug
url(r'^debug/', include('debug_platform.urls')),
# Debug
url(r'^debug/', include('debug_platform.urls')),
+ # Static files
+ (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}),
+
)
)