title: When configuring Geodjango, gdal1.10 and python3.3 are incompatible on Windows7
body: <p>I am using Windows7 to develop a GeoDjango app, my Python version is 3.3. Following the steps from Django documentation, I installed Postgresql9.1 and Postgis extension. Then when I am installing gdal library, there is a problem. I install the gdal from </p>
  
  <pre><code>http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal 
  </code></pre>
  
  <p>which it says it has all the required files. But for me, I can not correctly set it up. I test it with </p>
  
  <p><code>from django.contrib.gis import gdal</code></p>
  
  <p>and the following errors prompt out:</p>
  
  <pre><code>&gt;&gt;&gt; from django.contrib.gis import gdal
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "C:\Program Files\python33\lib\site-packages\django\contrib\gis\gdal\__in
  it__.py", line 41, in &lt;module&gt;
      from django.contrib.gis.gdal.driver import Driver
    File "C:\Program Files\python33\lib\site-packages\django\contrib\gis\gdal\driv
  er.py", line 5, in &lt;module&gt;
      from django.contrib.gis.gdal.prototypes import ds as capi
    File "C:\Program Files\python33\lib\site-packages\django\contrib\gis\gdal\prot
  otypes\ds.py", line 8, in &lt;module&gt;
      from django.contrib.gis.gdal.libgdal import lgdal
    File "C:\Program Files\python33\lib\site-packages\django\contrib\gis\gdal\libg
  dal.py", line 47, in &lt;module&gt;
      lgdal = CDLL(lib_path)
    File "C:\Program Files\python33\lib\ctypes\__init__.py", line 353, in __init__
  
      self._handle = _dlopen(self._name, mode)
  OSError: [WinError 193] %1 is not a valid Win32 application。
  &gt;&gt;&gt;
  </code></pre>
  
  <p>So I check the file of libgdal.py in python3.3, and I find there is no lib name for gdal1.10, as from the following code:</p>
  
  <pre><code>elif os.name == 'nt':
      # Windows NT shared libraries
      lib_names = ['gdal19', 'gdal18', 'gdal17', 'gdal16', 'gdal15']
  </code></pre>
  
  <p>so I change it to </p>
  
  <pre><code>elif os.name == 'nt':
      # Windows NT shared libraries
      lib_names = ['gdal110', 'gdal19', 'gdal18', 'gdal17', 'gdal16', 'gdal15']
  </code></pre>
  
  <p>why I did this is because I find the gdal installed a 'gdal110.dll' file within my python site-package folder.</p>
  
  <pre><code>C:\Program Files\python33\Lib\site-packages\osgeo
  </code></pre>
  
  <p>However, this modification doesn't work either.</p>
  
  <p>Then I tried to add this line to my settings.py of Django.</p>
  
  <pre><code>GDAL_LIBRARY_PATH = 'C:\Program Files\python33\Lib\site-packages\osgeo\gdal110.dll'
  </code></pre>
  
  <p>it still does not work, the error message was as before.</p>
  
  <p>Can anyone point me a way out? </p>