[Migration] remove set_device()
[mygpo.git] / mygpo / wsgi.py
blob3395ec44057738671ee41c28498d4e80ad8d9a2a
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3 # my.gpodder.org FastCGI handler for lighttpd (default setup)
5 # This file is part of my.gpodder.org.
7 # my.gpodder.org is free software: you can redistribute it and/or modify it
8 # under the terms of the GNU Affero General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or (at your
10 # option) any later version.
12 # my.gpodder.org is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
15 # License for more details.
17 # You should have received a copy of the GNU Affero General Public License
18 # along with my.gpodder.org. If not, see <http://www.gnu.org/licenses/>.
21 import os
23 # Set the DJANGO_SETTINGS_MODULE environment variable
24 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mygpo.settings")
26 from django.core.wsgi import get_wsgi_application
28 application = get_wsgi_application()