from django.conf.urls.defaults import * from expo.views import * from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Example: (r'^cave/$', caveindex), (r'^cave/(?P[^/]+)/$', cave), (r'^cave/(?P[^/]+)/(?P[^/]?)$', ent), (r'^survex/(?P.*)\.index$', index), (r'^survex/(?P.*)\.svx$', svx), (r'^survex/(?P.*)\.3d$', threed), (r'^survex/(?P.*)\.log$', log), (r'^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/'}), )