Re: How to generate an edit form for django comments

2012-07-04 Thread Russell Keith-Magee
Hi Sachin, Django-Developers is a forum for discussing the development of Django itself, not for general user queries. General user queries should be posted to Django-users. You should also refrain from posting the same question to both lists. Yours, Russ Magee %-) On Wed, Jul 4, 2012 at 2:44 PM

[contrib.admin] : search by date according to localization.

2012-07-04 Thread Stan
The way the query is constructed in admin.changelist to filter according the search parameters is very basic. There is no assumptions and no verifications done on the fields, it is just a string naively constructed from ModelAdmin.search_fields. I am using it to allow one to search by date in a

Re: Changing INSTALLED_APPS before syncdb on the fly

2012-07-04 Thread charettes
This list is for Django development only, please refer to the django-user list to get support in the future. Take a look at database routers and the `allow_syncdb`[1] method to achieve that. Simon [1] https://docs.djangoproject.com/en/1.4/topics/db/multi-db/#allow_syncdb Le mercredi 4 juillet

Re: Proposal: use SQLAlchemy Core for query generation

2012-07-04 Thread megaman821
On Tuesday, July 3, 2012 7:59:26 AM UTC-5, Chris Wilson wrote: > > Hi Reinout, > > On Tue, 3 Jul 2012, Reinout van Rees wrote: > > > On 30-06-12 16:22, Luke Plant wrote: > >> Also, in Django to date we've eschewed external dependencies. That has > >> been partly due to the poor and confusing s

Changing INSTALLED_APPS before syncdb on the fly

2012-07-04 Thread Bernardo P.
Hello, I have the following scenario. I have multiple tenants on different databases, all sharing the same code base. Everytime there is a change on the models, I call south's migrate on each of the databases via a single command migrate_all_databases (which calls south's migrate and django's