Skip to content
This repository
Newer
Older
100644 36 lines (29 sloc) 1.185 kb
c2866936 » fwenzel
2011-01-05 Added jingo-minify and asset minification samples. Added jQuery 1.4.4.
1 from django.conf import settings
80ee5a94 » Jeff Balogh
2010-12-15 BUST A MOVE
2 from django.conf.urls.defaults import *
3
306e0e51 » fwenzel
2011-04-29 Initial implementation of l10n block type with jingo-like render shor…
4
80ee5a94 » Jeff Balogh
2010-12-15 BUST A MOVE
5 # Uncomment the next two lines to enable the admin:
6 # from django.contrib import admin
7 # admin.autodiscover()
8
9 urlpatterns = patterns('',
e54cebb2 » ednapiranha
2011-12-02 removed django-jobvite and careers
10 # Main pages
68e7ba6e » jlongster
2012-02-22 move top-level URLs into top-level urls.py
11 (r'^b2g/', include('b2g.urls')),
e128b3fc » sgarrity
2012-02-24 Initial setup of Collusion page
12 (r'^collusion/', include('collusion.urls')),
68e7ba6e » jlongster
2012-02-22 move top-level URLs into top-level urls.py
13 (r'^apps/', include('marketplace.urls')),
14 (r'^persona/', include('persona.urls')),
0b34be4e » jlongster
2012-03-01 add devices landing page
15 (r'', include('landing.urls')),
e54cebb2 » ednapiranha
2011-12-02 removed django-jobvite and careers
16 (r'', include('mozorg.urls')),
2511d1e6 » sgarrity
2012-02-13 Rough stand on new sandstone branch
17 (r'', include('research.urls')),
3eb5009f » fwenzel
2011-04-18 Framework for as-of-yet empty careers site.
18
306e0e51 » fwenzel
2011-04-29 Initial implementation of l10n block type with jingo-like render shor…
19 # L10n example.
20 (r'^l10n_example/', include('l10n_example.urls')),
21
80ee5a94 » Jeff Balogh
2010-12-15 BUST A MOVE
22 # Uncomment the admin/doc line below to enable admin documentation:
23 # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
24
25 # Uncomment the next line to enable the admin:
26 # (r'^admin/', include(admin.site.urls)),
27 )
c2866936 » fwenzel
2011-01-05 Added jingo-minify and asset minification samples. Added jQuery 1.4.4.
28
29 ## In DEBUG mode, serve media files through Django.
30 if settings.DEBUG:
31 # Remove leading and trailing slashes so the regex matches.
32 media_url = settings.MEDIA_URL.lstrip('/').rstrip('/')
33 urlpatterns += patterns('',
34 (r'^%s/(?P<path>.*)$' % media_url, 'django.views.static.serve',
35 {'document_root': settings.MEDIA_ROOT}),
36 )
Something went wrong with that request. Please try again.