2 # -*- coding: utf-8 -*-
3 # my.gpodder.org FastCGI handler for lighttpd (default setup)
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')