2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 14:51:51 +00:00
troggle/urls.py
substantialnoninfringinguser b503d3d588 [svn] Initial troggle checkin
This is a development site using Django 1.0
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8034 by julian @ 10/26/2008 9:04 PM
2009-05-13 05:13:38 +01:00

24 lines
867 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'^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/'}),
)