Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (22 sloc) 0.92 kB
c286693 @fwenzel Added jingo-minify and asset minification samples. Added jQuery 1.4.4.
fwenzel authored
1 from django.conf import settings
80ee5a9 BUST A MOVE
Jeff Balogh authored
2 from django.conf.urls.defaults import *
3
306e0e5 @fwenzel Initial implementation of l10n block type with jingo-like render shor…
fwenzel authored
4
80ee5a9 BUST A MOVE
Jeff Balogh authored
5 # Uncomment the next two lines to enable the admin:
6 # from django.contrib import admin
7 # admin.autodiscover()
8
9 urlpatterns = patterns('',
3eb5009 @fwenzel Framework for as-of-yet empty careers site.
fwenzel authored
10 (r'', include('careers.urls')),
11
306e0e5 @fwenzel Initial implementation of l10n block type with jingo-like render shor…
fwenzel authored
12 # L10n example.
13 (r'^l10n_example/', include('l10n_example.urls')),
14
80ee5a9 BUST A MOVE
Jeff Balogh authored
15
16 # Uncomment the admin/doc line below to enable admin documentation:
17 # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
18
19 # Uncomment the next line to enable the admin:
20 # (r'^admin/', include(admin.site.urls)),
21 )
c286693 @fwenzel Added jingo-minify and asset minification samples. Added jQuery 1.4.4.
fwenzel authored
22
23 ## In DEBUG mode, serve media files through Django.
24 if settings.DEBUG:
25 # Remove leading and trailing slashes so the regex matches.
26 media_url = settings.MEDIA_URL.lstrip('/').rstrip('/')
27 urlpatterns += patterns('',
28 (r'^%s/(?P<path>.*)$' % media_url, 'django.views.static.serve',
29 {'document_root': settings.MEDIA_ROOT}),
30 )
Something went wrong with that request. Please try again.