from django.conf.urls.defaults import * from expo.views import * from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Example: (r'^troggle/cave/$', caveindex), (r'^troggle/cave/(?P[^/]+)/$', cave), (r'^troggle/cave/(?P[^/]+)/(?P[^/]?)$', ent), (r'^troggle/survex/(?P.*)\.index$', index), (r'^troggle/survex/(?P.*)\.svx$', svx), (r'^troggle/survex/(?P.*)\.3d$', threed), (r'^troggle/survex/(?P.*)\.log$', log), (r'^troggle/survex/(?P.*)\.err$', err), (r'^person/$', personindex), (r'^person/(.*)$', person), (r'^logbookentry/(.*)$', logbookentry), (r'^admin/doc/', include('django.contrib.admindocs.urls')), (r'^admin/(.*)', admin.site.root), (r'^site_media/(?P.*)$', 'django.views.static.serve', {'document_root': 'c:/expodjango/troggle/media/'}), )