~chipaca/unity-lens-video/custom-user-agent

« back to all changes in this revision

Viewing changes to maintenance_urls.py

  • Committer: Janos Gyerik
  • Date: 2012-05-21 18:31:58 UTC
  • Revision ID: janos@axiom-20120521183158-kvtqzuo6yhe3mdzq
added example configuration for logging to file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from django.conf.urls.defaults import patterns
 
2
from django.shortcuts import render_to_response
 
3
 
 
4
 
 
5
def maintenance_page(request):
 
6
    return render_to_response('maintenance.html')
 
7
 
 
8
urlpatterns = patterns('',
 
9
        (r'^$', maintenance_page),
 
10
        (r'^main/', maintenance_page),
 
11
        (r'^admin/', maintenance_page),
 
12
        (r'^comments/', maintenance_page),
 
13
        (r'^openid/', maintenance_page),
 
14
        )
 
15
 
 
16
 
 
17
# eof