removed default_device from simple api
[mygpo.git] / mygpo.fcgi
blob64d22eca8ec8ae1ab330539594299ad6594f04ed
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3 # my.gpodder.org FastCGI handler for lighttpd (default setup)
5 import sys
6 import os
8 # Add this directory as custom Python path
9 sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
11 # Set the DJANGO_SETTINGS_MODULE environment variable
12 os.environ['DJANGO_SETTINGS_MODULE'] = 'mygpo.settings'
14 # Start the FastCGI server for this application
15 from django.core.servers.fastcgi import runfastcgi
16 runfastcgi(method='threaded', daemonize='false')