python - Setting up Django on IIS -


i have been trying setup django work on iis 7 enterprise (version 6.1 on windows 7), far have been unable to. using django 1.8.3 , python 2.7. using pyisapi run django on iis. have tried both 2.6 version of pyisapi , 2.7 version (http://blog.wolfplusplus.com/?attachment_id=276). have followed following tutorials:

iis not linking django pyisapie

http://blog.wolfplusplus.com/?p=272

i have followed others also, , of them different things. none of them have worked me far, , of tutorials seems couple of years old. can provide straightforward date guide on how setup django 1.8 (running python 2.7) iis. there seems multiple approaches such using fastcgi, have read pyisapi faster fastcgi. goal run django application on iis.

i've followed that guide following corrections:

  1. you should give permission on site folder app pool's identity. went app pool's advanced settings > process model > identity , set local admin account testing purposes.
  2. correct environment variable name in step 4.13 django_settings_module, underscores eaten markup

and worked fine! if it's not applicable in case please provide additional details.


Comments