source: mauRepo/MolesManager/trunk/src/MolesManager/urls.py @ 8120

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/MolesManager/trunk/src/MolesManager/urls.py@8120
Revision 8120, 1.1 KB checked in by gparton, 8 years ago (diff)

committing changes to cedaObservation.js and associated views

Line 
1from django.conf.urls.defaults import patterns, include, url
2from MolesManager.settings import STATIC_ROOT
3
4# Uncomment the next two lines to enable the admin:
5# from django.contrib import admin
6# admin.autodiscover()
7
8urlpatterns = patterns('',
9    # Examples:
10    # url(r'^$', 'MolesManager.views.home', name='home'),
11    # url(r'^MolesManager/', include('MolesManager.foo.urls')),
12
13    # Uncomment the admin/doc line below to enable admin documentation:
14    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
15
16    # Uncomment the next line to enable the admin:
17    # url(r'^admin/', include(admin.site.urls)),
18)
19
20urlpatterns += patterns('MolesManager.views.cedaObservationView',
21
22    (r'cov/$', 'coView'),
23)
24
25urlpatterns += patterns('MolesManager.views.cedaSearch',
26
27    (r'search/$', 'coSearch'),
28)
29
30
31urlpatterns += patterns('MolesManager.views',
32    (r'^$', 'index.home'),
33)
34
35
36urlpatterns += patterns('',
37    url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': STATIC_ROOT , 'show_indexes': True}),
38)
39
40
41#urlpatterns += staticfiles_urlpatterns()
Note: See TracBrowser for help on using the repository browser.