Code

Changes between Version 6 and Version 7 of DjangoOnWindowsWithIISAndSQLServer


Ignore:
Timestamp:
07/13/06 10:37:47 (8 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoOnWindowsWithIISAndSQLServer

    v6 v7  
    1818 
    1919 * Install Python 
    20  * Install Python's Windows extensions 
     20 * Install Python's Windows extensions (optional) 
    2121 * Install an ISAPI extension for IIS 
    2222 * Install Django 
     
    3131Phew. Easy bit over with, it gets harder from here on in. 
    3232 
    33 == Install Win32 extensions for Python == 
    34 These are some Windows specific extensions for Python, and they are (I think) required for the IIS driver later. 
     33== Install Win32 extensions for Python (Optional) == 
     34These are some Windows specific extensions for Python, and they are NOT required for the IIS driver later. 
    3535 
    3636Visit https://sourceforge.net/projects/pywin32/ and download the Windows installer, run through it. 
     
    103103Now open a web browser, and visit the site. It should serve a neat page to you. 
    104104 
    105 === Linking Django to PyISAPI === 
    106 Next, you must follow the readme in the PyISAPI examples\django folder (it explains where to copy two files - one goes into the Django install (One goes into python24\lib\site-packages\django-xyz-123.egg\core\handlers\). Then edit the isapi.py file you just copied to lib\site-packages\http\. See where it says you should change a line? If applicable, edit it for your django.settings.module settings. 
     105=== Linking Django to PyISAPIe === 
     106Next, you must follow the readme in the PyISAPIe examples\django folder (it explains where to copy two files - one goes into the Django install (One goes into python24\lib\site-packages\django-xyz-123.egg\core\handlers\). Then edit the isapi.py file you just copied to lib\site-packages\http\. See where it says you should change a line? If applicable, edit it for your django.settings.module settings. 
    107107 
    108108=== Serving Django with IIS === 
    109 You have created a new virtual folder in IIS, and added the PyISAPI extension and tweaked it to drive django sites. 
     109You have created a new virtual folder in IIS, and added the PyISAPIe extension and tweaked it to drive django sites. 
    110110There is also an addition to Django so it can be driven by PyISAPIe. 
    111111And, you can now use django-admin.py to create a site inside the virtual folder.