mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 16:51:54 +00:00
5e6bf2436d
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8075 by julian @ 11/8/2008 3:37 PM
31 lines
931 B
Python
31 lines
931 B
Python
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_id>[^/]+)/$', cave),
|
|
(r'^cave/(?P<cave_id>[^/]+)/(?P<ent_letter>[^/]?)$', ent),
|
|
|
|
(r'^survex/(?P<survex_file>.*)\.index$', index),
|
|
(r'^survex/(?P<survex_file>.*)\.svx$', svx),
|
|
(r'^survex/(?P<survex_file>.*)\.3d$', threed),
|
|
(r'^survex/(?P<survex_file>.*)\.log$', log),
|
|
(r'^survex/(?P<survex_file>.*)\.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<path>.*)$', 'django.views.static.serve',
|
|
{'document_root': 'c:/expodjango/troggle/media/'}),
|
|
|
|
)
|