/[adm]/puppet/modules/apache/templates/django.wsgi
ViewVC logotype

Annotation of /puppet/modules/apache/templates/django.wsgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 612 - (hide annotations) (download)
Wed Dec 15 01:39:27 2010 UTC (14 years, 1 month ago) by misc
File size: 233 byte(s)
do not use a variable called module in template, this is a reserved ruby keyword
1 misc 182 #!/usr/bin/python
2     import os, sys
3     sys.path.append('<%= module_path %>')
4 misc 612 os.environ['DJANGO_SETTINGS_MODULE'] = '<%= django_module %>.settings'
5 misc 182
6     import django.core.handlers.wsgi
7    
8     application = django.core.handlers.wsgi.WSGIHandler()
9    

  ViewVC Help
Powered by ViewVC 1.1.30