Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: f878917dfb
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (13 sloc) 0.553 kB
from django.conf.urls.defaults import *
from settings import MEDIA_ROOT
urlpatterns = patterns('',
# Example:
(r'^exampleapp/', include('exampleapp.urls')),
# medi
url(r'^images/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': MEDIA_ROOT + '/images'}),
url(r'^css/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': MEDIA_ROOT + '/css'}),
url(r'^javascript/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': MEDIA_ROOT + '/javascript'}),
)
Jump to Line
Something went wrong with that request. Please try again.