File: autoradio.wsgi

package info (click to toggle)
autoradio 3.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,784 kB
  • sloc: python: 10,213; sh: 68; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 644 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# remenber to set those in envvars in debian or /etc/sysconfig/httpd in centos
#LANG='en_US.UTF-8'
#LC_ALL='en_US.UTF-8'

import os
import autoradio.settings
import autoradio.autoradio_config

#os.environ['DJANGO_SETTINGS_MODULE'] = 'autoradio.settings'

#import django.core.handlers.wsgi
#application = django.core.handlers.wsgi.WSGIHandler()


## from django 1.4
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "autoradio.settings")

## This application object is used by the development server
## as well as any WSGI server configured to use this file.

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()