Re: How to set the right PostGIS path to PostgreSQL 'share' directory

2009-02-13 Thread qwerty
2009/2/13 Justin Bronn > > > flex??? > > Yes, `flex` is a prerequisite package to build PostGIS. If using > ubuntu/debian then do `apt-get install flex`; redhat/centos then `yum > install flex`. > > > You may have a bit more luck consulting a forum specifically for > >

Re: Update to many registers

2008-04-07 Thread qwerty
Thanks both, I'll be using SQL until then ;) On Mon, Apr 7, 2008 at 12:54 PM, Tim Chase <[EMAIL PROTECTED]> wrote: > > > I've read that in the queryset-refactor branch is an .update > > method for the queryset, but it isn't some workaround (other > > than raw SQL) for the current HEAD branch?

Re: Update to many registers

2008-04-07 Thread qwerty
... update the service... > service.save() > > ? > > This is quite slow but should work if I understand you correctly. > > Sebastjan > > > > On 4/7/08, qwerty <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I've a models.Model class c

Update to many registers

2008-04-07 Thread qwerty
Hi all, I've a models.Model class called it Services with more than 1.000.000 registers. I need to perform an update on many of those registers throw a condition, but I don't want to fallback to raw SQL, is there any option of doing this with Django's ORM? Greets, Angel

How to check the SQL that the Django ORM is executing?

2008-03-27 Thread qwerty
Hi all, I want so see the SQL that the Django ORM is executing behind the scenes. I know that SQLObject has this but I wanted to see if there is some similar functionality in Django. Is it? Thanks, Angel --~--~-~--~~~---~--~~ You received this message because

Re: url config problem

2007-09-25 Thread qwerty
"I have set up django with mod_python on apache successfully" What do you mind by set up django inside Apache? You mean that mod_python read and works ok with your Python files, or that a Django project you've made is already working in that Apache server. In any case, I'll look for what

Re: Django deployment à lá Capistrano

2007-09-11 Thread qwerty
let people put it together, like "update from svn, > > update postgresql database from sql file, restart nginx", and leave > > space for them to plug in custom stuff. Sounds like a good start. > > > > > > > > El lun, 10-09-2007 a las 20:50 -0300, qwerty escribi

Re: Django deployment à lá Capistrano

2007-09-10 Thread qwerty
I think db schema migration should wait until django has some feature that supports it, a limited set of scripting (python itself of course) should be allowed in the "recipes" "recipes" is capistrano nomenclature, how should be called in this new project? "jobs", or "tasks" is a good way to go.

Re: Django deployment à lá Capistrano

2007-09-09 Thread qwerty
Well, I'm interesed in the project and as first idea from the bainstrom is the name: Capistrano's url is http://www.capify.org/, why can we call it capipy, the py at the end is a clasic (tm) of projects coded in Python. Another good idea is to review the concept of the tool to draw what it should

Re: Capisdjango

2007-09-09 Thread qwerty
I know this isn't capistriano but there is a work already in pythonpaste for django: http://pythonpaste.org/djangopaste/ Maybe instead of work in something new that can be fixed/finished =) 2007/9/9, Andrey Khavryuchenko <[EMAIL PROTECTED]>: > > > Chris, > > CH> Sure. Anyone to join me? > > Show

Re: Parents and Childrens in the same table

2007-09-03 Thread qwerty
Thanks! 2007/9/3, Ramiro Morales <[EMAIL PROTECTED]>: > > > On 9/3/07, qwerty <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I've a category table, where a category can be related as a "child" to > > another, and a "parent" to others.

Parents and Childrens in the same table

2007-09-03 Thread qwerty
Hi, I've a category table, where a category can be related as a "child" to another, and a "parent" to others. Is there any django-way of doing this, where I've methods like modelinstance.childrens() and modelinstance.parent()? Thanks, Angel --~--~-~--~~~---~--~~

Re: Sharing models between applications

2007-09-02 Thread qwerty
You mean like having a "neutral" application? I was thinking in this, is a good solution I just don't wanna miss some already built-in solution for this. Thanks! Angel 2007/9/2, Tim Chase <[EMAIL PROTECTED]>: > > > > I've a projects that should share the db models > > > > I know I can create a