diff options
author | Tom Willemsen <tom.willemsen@archlinux.us> | 2011-04-28 12:43:01 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-28 14:00:54 -0500 |
commit | c5a28f88936fba06755aefec61a017c2ce94ba40 (patch) | |
tree | 76add6504dff0e7f882b151094b607bc5b5b8be8 /urls.py | |
parent | c292dcfc6bf96ebf5f34342beb1367aa5361f7c4 (diff) |
isotests: modelines, imports, url and pass
* Added vim modelines to files.
* Rearranged import statements.
* Moved the arch releng isos url to settings.py.
* Fixed some issues that arose from forgetting to import the isotests urls
package.
* removed redundant str() calls.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -77,11 +77,12 @@ urlpatterns += patterns('', (r'^opensearch/packages/$', 'packages.views.opensearch', {}, 'opensearch-packages'), (r'^todolists/$','todolists.views.public_list'), + (r'^isotests/', include('isotests.urls')), ) if settings.DEBUG == True: urlpatterns += patterns('', - (r'^media/(.*)$', 'django.views.static.serve', + (r'^media/(.*)$', 'django.views.static.serve', {'document_root': os.path.join(settings.DEPLOY_PATH, 'media')})) # vim: set ts=4 sw=4 et: |