1 from django.conf.urls.defaults import * 2 3 # The groups defined by ?P<vp> (ie. having the name "vp") define the virtual 4 # path info for each resource. Modifications to the regular expressions used 5 # below should be accompanied by modifications in the handler code in 6 # examples/Django. 7 8 urlpatterns = patterns('', 9 (r'^django/webstack/auth(?P<vp>/.*)?', 'djangoinstance.webstack.authapp.auth'), 10 (r'^django/webstack/calendar(?P<vp>/.*)?', 'djangoinstance.webstack.calendarapp.calendar'), 11 (r'^django/webstack/cookies(?P<vp>/.*)?', 'djangoinstance.webstack.cookiesapp.cookies'), 12 (r'^django/webstack/form(?P<vp>/.*)?', 'djangoinstance.webstack.formapp.form'), 13 (r'^django/webstack/login(?P<vp>/.*)?', 'djangoinstance.webstack.loginapp.login'), 14 (r'^django/webstack/sessions(?P<vp>/.*)?', 'djangoinstance.webstack.sessionsapp.sessions'), 15 (r'^django/webstack/simplewithlogin(?P<vp>/.*)?', 'djangoinstance.webstack.simplewithloginapp.simplewithlogin'), 16 (r'^django/webstack/simple(?P<vp>/.*)?', 'djangoinstance.webstack.simpleapp.simple'), 17 (r'^django/webstack/unicode(?P<vp>/.*)?', 'djangoinstance.webstack.unicodeapp.unicode'), 18 (r'^django/webstack/verysimple(?P<vp>/.*)?', 'djangoinstance.webstack.verysimpleapp.verysimple'), 19 )