diff options
author | Stevan Radakovic <stevan.radakovic@linaro.org> | 2012-10-10 16:52:13 +0200 |
---|---|---|
committer | Stevan Radakovic <stevan.radakovic@linaro.org> | 2012-10-10 16:52:13 +0200 |
commit | 72ee29f4b7413dcfa6263db926b17d42d4bd5468 (patch) | |
tree | 22801ee1fa270f2eb65463977474d59e08d82ced /urls.py | |
parent | feb765932fb93523777ffa912bf677c27877aba5 (diff) |
Add initial css and js. Implement tabs on pages without meaningful data.
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,4 @@ +from django.conf import settings from django.conf.urls.defaults import patterns, include, url # Uncomment the next two lines to enable the admin: @@ -15,6 +16,12 @@ urlpatterns = patterns('', url(r'^linaro-openid/', include('django_openid_auth.urls')), url(r'^logout/$', 'django.contrib.auth.views.logout'), + # Handle JS libs and CSS. + url(r'^js/(?P<path>.*)$', 'django.views.static.serve', + {'document_root': settings.JS_PATH}), + url(r'^css/(?P<path>.*)$', 'django.views.static.serve', + {'document_root': settings.CSS_PATH}), + # The license page... url(r'^license$', 'license_protected_downloads.views.show_license', |