﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22930	AttributeError: 'module' object has no attribute 'models' when debug = false	alan@…	Alan Campos	"When I set variable Debug to False in django==1.4.5, the server throws me a 500 error. I don't know what I'm doing wrong. I f I  set to True it doesn't have any problem.  My allowed hosts is like this
{{{ 
ALLOWED_HOSTS = [
    'domain name',
    'ip-address', # Allow domain and subdomains
]
}}}

My apache configuration is like this:
{{{
<VirtualHost *:80>
    WSGIDaemonProcess Vermonti python-path=/srv/www/app:/srv/www/app/ENV/lib/python2.7/site-packages
    WSGIProcessGroup app
    WSGIScriptAlias / /srv/www/Vermonti/app/wsgi.py
    ServerName domain name
    DocumentRoot /srv/www/app

    <Directory /srv/www/app>
        Order allow,deny
        Allow from all
    </Directory>
    SetEnv DJANGO_SETTINGS_MODULE app.settings
</VirtualHost>
}}}"	Uncategorized	closed	Uncategorized	1.4	Normal	duplicate	AttributeError		Unreviewed	0	0	0	0	0	0
