forked from gem/oq-engine
-
Notifications
You must be signed in to change notification settings - Fork 2
ubuntu python django patch
nastasi-oq edited this page Mar 28, 2013
·
1 revision
If you want install python-oq-engine on Ubuntu 12.04 and for any reason you need to keep standard-conforming-strings = on in your postgresql.conf you must install a patch for python-django.
To apply the patch:
wget https://code.djangoproject.com/raw-attachment/ticket/16778/postgis-adapter-2.patch sudo patch /usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/postgis/adapter.py ./postgis-adapter-2.patch
WARNING: if the official ubuntu python-django package is updated for any reason it will overwrite your patch and it will be necessary to apply a possibly new patch to python-django.
Please see https://code.djangoproject.com/ticket/16778 for further details.