Re: hstore support in postgis backend

2012-11-28 Thread Reiner Marquez
Hi Matt,

firstly, I would like mention that https://github.com/jordanm/django-hstore 
is not the most updated version.
My suggestion is to use https://github.com/aino/django-hstore (referenced 
at pypi http://pypi.python.org/pypi/django-hstore/1.1.1)

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
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/a5NUWs8Q7m0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: PostGIS 2.0.0 problems

2012-08-13 Thread Reiner Marquez
hey guys, take a look at this, it saved my live on today.

https://github.com/django/django/pull/249 

El lunes, 6 de agosto de 2012 10:28:50 UTC-5, Oleg Korsak escribió:
>
> Have you tried to create new project, then new app, then new model with 
> PointField(geography=False) and then run manage.py syncdb? Here must be a 
> problem :)
>
>
> суббота, 4 августа 2012 г., 8:59:34 UTC+3 пользователь Will 
> Tuladhar-Douglas написал:
>>
>> Folks,
>>
>> I just checked and I'm running Postgres 9.1 and Postgis 2.0SVN with 
>> GeoDjango (on Mac OSX 10.7.4) . I'm not doing anything very exciting with 
>> GeoDjango so far, so perhaps there are problems I haven't encountered, but 
>> it does run, and it is possible to encode locations using the GeoDjango ORM 
>> features. I didn't do anything special for Django (1.4.1) or GeoDjango, but 
>> setting up PostGis does need to be done right, and the special version of 
>> psycopgsl is required - all of that is well documented, though.
>>
>> -WBTD.
>>
>>
>>
>> On 4 Aug 2012, at 04:24, Oleg Korsak wrote:
>>
>> looks like GeoDjango is dead, it is not solved for almost half of the year
>>
>> четверг, 19 июля 2012 г., 21:23:03 UTC+3 пользователь Dominique Guardiola 
>> Falco написал:
>>>
>>>
>>> Is there a tutorial describing how to do this somewhere please ?
>>> Because right now, geodjango is unusable with PostGreSQL 9 + PostGIS 2
>>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/django-users/-/mmBsv7nuDvoJ.
>> To post to this group, send email to django...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> django-users...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>>
>>
>> - - -- --- -  -
>> Will Tuladhar-Douglas 
>> Anthropology ∙ Environments ∙ Religions
>> Wellcome Trust  Research Fellow, Nepal, 
>> 2011-12.
>> Visiting Scientist, ICIMOD  SL/PR group.
>> tending.to/garden
>>  
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/Xd_it9vgmQYJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.