Changes between Version 38 and Version 39 of DjangoOnWindowsWithIISAndSQLServer
- Timestamp:
- Sep 3, 2008, 9:07:37 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DjangoOnWindowsWithIISAndSQLServer
v38 v39 158 158 * ''NOT true for IIS6: right-click on the application pool your site is using and select "Recycle." [pjs]'' 159 159 * ''I had to create a "media" virtual directory for the stylesheets, etc, at the root of my IIS directory tree (urgh) with read permissions to get the admin site to load styles. Looking at the source for the admin page in my browser, the stylesheet link is absolute (/media/...) [rnm]'' 160 160 161 == Install the PyWin32 Extensions == 161 162 Just a download and install for this bit - Pick them up from http://sourceforge.net/project/showfiles.php?group_id=78018 162 163 163 == Install the ADO-DB-API SQL Server interface == 164 Go to the homepage, which is http://adodbapi.sourceforge.net/ then follow the link to download the latest version. 164 == Configure Django for SQL Server == 165 There are two external Django database backends for SQL Server: 166 * http://code.google.com/p/django-mssql/ 167 * http://code.google.com/p/django-pyodbc/ 165 168 166 Then extract the zip file somewhere, e.g. c:\python25\adodbapi, and run 'setup.bat' from that folder. 167 168 == Configure Django to look at SQL Server == 169 At the moment (21st Sept 2006), the Django database backend ado_mssql from SVN trunk isn't fully working. I think the patch 'diff3' attached to this Trac entry looks promising: http://code.djangoproject.com/ticket/2358 (''Update'': MSSQL is broken for Django and there are efforts to remove it from Django Core and place it into an external project that is community maintained. For more information, please look at the google group discussion found at http://tinyurl.com/36fttd ) 170 171 Alternatively, there is an [http://code.google.com/p/django-mssql/ external sql server backend] that is attempting to keep trunk-Django working against SQL Server. This backend includes an internal copy of the ADODBAPI project mentioned above. 169 Both of these projects are tracking the Django 1.0 release. Issues with those projects should be reported in their corresponding issue trackers. 172 170 173 171 == Credits ==