mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-26 01:01:53 +00:00
32e1e6b9ab
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8044 by julian @ 10/30/2008 1:13 PM
31 lines
995 B
Python
31 lines
995 B
Python
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_id>[^/]+)/$', cave),
|
|
(r'^troggle/cave/(?P<cave_id>[^/]+)/(?P<ent_letter>[^/]?)$', ent),
|
|
|
|
(r'^troggle/survex/(?P<survex_file>.*)\.index$', index),
|
|
(r'^troggle/survex/(?P<survex_file>.*)\.svx$', svx),
|
|
(r'^troggle/survex/(?P<survex_file>.*)\.3d$', threed),
|
|
(r'^troggle/survex/(?P<survex_file>.*)\.log$', log),
|
|
(r'^troggle/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/'}),
|
|
|
|
)
|