Re: M2M intermediary models

2007-12-29 Thread [EMAIL PROTECTED]
On Dec 29, 3:57 pm, fietske <[EMAIL PROTECTED]> wrote: > Hi folks > > this post is a response to ticket 6095. > > In relational modeling theory ALL tables (or better: relations) > are first class citizens. What's called an "intermediate model" > in the Django context should be considered just

Re: newforms-admin and translated data

2007-12-29 Thread Marc Garcia
Sorry for didn't explain it ok. My admin page is shown in language specified in LANGUAGE_CODE as in your case, or language specified by set_lang, but my field names, that are marked as translatable aren't translated. For example, I have an application in two languages, with its .po file, and

Re: M2M intermediary models

2007-12-29 Thread Marty Alchin
On 12/29/07, fietske <[EMAIL PROTECTED]> wrote: > this post is a response to ticket 6095. I'm not championing #6095, but I do have opinions on this, so I'll voice them here for the archives. > In relational modeling theory ALL tables (or better: relations) > are first class citizens. What's

M2M intermediary models

2007-12-29 Thread fietske
Hi folks this post is a response to ticket 6095. In relational modeling theory ALL tables (or better: relations) are first class citizens. What's called an "intermediate model" in the Django context should be considered just another table that could have a primary key that could consist of 3,

Re: Django Model Inheritance

2007-12-29 Thread Waylan Limberg
On Dec 29, 2007 8:49 AM, Sridhar Ratnakumar <[EMAIL PROTECTED]> wrote: > > [that link is going down -- hence, I'm pasting the contents below] > Your willingness to share is much apprciated. However, things tend to become quickly forgoten and lost in the list. Not that we do so on pupose; that's

Re: Django Model Inheritance

2007-12-29 Thread Sridhar Ratnakumar
[that link is going down -- hence, I'm pasting the contents below] Django ORM does not support inheritance. Inheritance is a good thing. Often I want some of the database models to share some common fields and the same manager. For example consider the case of adding the delete proxy. class