Re: hstore support in postgis backend

245 views
Skip to first unread message

Reiner Marquez

unread,
Nov 28, 2012, 10:28:15 AM11/28/12
to django...@googlegroups.com
Hi Matt,

firstly, I would like mention that https://github.com/jordanm/django-hstore is not the most updated version.

Now, as well you said, if you use the backend provided by django-hstore (django_hstore.postgresql_psycopg2), this will prevent you from dropping in other django extensions (postgis), unless you fork it and combine (hstore + postgis).

Affortunately, there is a work around (https://github.com/aino/django-hstore/pull/5). which should allow you have both postgres extensions at the same time

cheers!!


El miércoles, 28 de noviembre de 2012 05:12:14 UTC-5, Matthew Cooper escribió:
Hi all

We are using geodjango and postgis for a projects and I'm becoming more and more impressed with Postgres and is GIS features.

Specifically I want to use hstore fields in my models with projects like https://github.com/jordanm/django-hstore

These require you to use a modified backend though and while this works fine for a standard Postgres DB it doesn't help if you want to use the standard postgis backend.

So I'm wondering what other people have done in this situation and maybe whether the django postgis backend is going to have support for hstore built in.

I could start to merge them but would be interested in what others have done first.

Matt

Matthew Cooper

unread,
Nov 28, 2012, 7:08:25 PM11/28/12
to django...@googlegroups.com
Hi Reiner

Thanks for pointing out the latest version of django-hstore.

That pull request looks great, seems only to be a couple of files, wondering if that can be right, will have a look.

Many thanks

Matt

Max Demars

unread,
Apr 15, 2013, 3:53:30 PM4/15/13
to django...@googlegroups.com
Hi Matt

Have you test this hstore branch? Does it combines well the postgis backend with hstore modified postgres backend? Have you found something better so far?

Thank you,

Max Demars
Reply all
Reply to author
Forward
0 new messages