Django + IIS windows server 2008 -


hi trying install django on iis following guide http://www.youtube.com/watch?v=kxbfhtavubc#t=194 @ end error

python 3.4 django 1.7.1 windows server 2008r2 iis 7.5


file wsgi.py

   import os     os.environ.setdefault("django_settings_module", "plastimi.settings") 

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



environment variables

name : wsgi_handler

value: django.core.wsgi.get_wsgi_application()


error occurred while reading wsgi handler: traceback (most recent call last): file "c:\inetpub\wwwroot\django\plastimi\wfastcgi.py", line 711, in main env, handler = read_wsgi_handler(response.physical_path) file "c:\inetpub\wwwroot\django\plastimi\wfastcgi.py", line 568, in read_wsgi_handler return env, get_wsgi_handler(handler_name) file "c:\inetpub\wwwroot\django\plastimi\wfastcgi.py", line 541, in get_wsgi_handler handler = handler() file "c:\python34\lib\site-packages\django\core\wsgi.py", line 14, in get_wsgi_application django.setup() file "c:\python34\lib\site-packages\django__init__.py", line 20, in setup configure_logging(settings.logging_config, settings.logging) file "c:\python34\lib\site-packages\django\conf__init__.py", line 46, in getattr self._setup(name) file "c:\python34\lib\site-packages\django\conf__init__.py", line 40, in _setup % (desc, environment_variable)) django.core.exceptions.improperlyconfigured: requested setting logging_config, settings not configured. must either define environment variable django_settings_module or call settings.configure() before accessing settings. stdout: stderr:

wsgi_handler: replace django.core.handlers.wsgi.wsgihandler() django.core.wsgi.get_wsgi_application()

django.core.handlers.wsgi.wsgihandler() deprecated 1.4

a video tutorial text explanation can find on http://chrisberragan.com/posts/2014/03/19/installing-django-on-iis-7-5/


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -