/[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 270 - (hide annotations) (download)
Wed Nov 17 20:43:29 2010 UTC (14 years, 2 months ago) by misc
File size: 226 byte(s)
- oups, revert wrongly commited work in progress :/

1 misc 182 #!/usr/bin/python
2     import os, sys
3     sys.path.append('<%= module_path %>')
4 misc 270 os.environ['DJANGO_SETTINGS_MODULE'] = '<%= 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