Re: table prefix and question of possible solution

2011-02-07 Thread Benjamin Wohlwend
Hi Dmitry, On Mon, Feb 7, 2011 at 9:26 PM, Dmitry Gladkov wrote: > > By the way, this is my first patch for Django, so I'm sure I've done > something terribly wrong, > so someone please take a look at it: > http://code.djangoproject.com/ticket/15238 > Table prefixes have been proposed several

Re: table prefix and question of possible solution

2011-02-07 Thread Dmitry Gladkov
Hi Vitaliy, I'm not a core developer myself, but I found your problem very interesting. I looked at model property code and couldn't find any clues about table prefix, so I wrote a patch and opened a ticket for your particular problem. By the way, this is my first patch for Django, so I'm sure I'

Re: table prefix and question of possible solution

2011-02-04 Thread Vitaliy
so.. at least clas_prepared works I made some plugable application that does what I need - https://github.com/pydevua/django-table-prefix/tree/master/table_prefix bug general question is class_prepared signal safe and good way to do this ? -- You received this message because you are subscribed

table prefix and question of possible solution

2011-02-02 Thread Vitaliy
I have a case where I have a lot of django sites(partially with the same code) must run in a single mysql database in order to avoid conflicts in django.auth, content-types and other models tables for them must have unique prefix (since this data must be isolated for each site) Currently there i