Re: How to create related table from field

2006-04-03 Thread Nebojsa Djordjevic
akaihola wrote: >> If I understood docs correctly this is now possible in m-r branch. > > Sounds interesting! Which part of the docs? Ops, my error, no docs. Sorry for misleading post :( I mostly got this from M2M field usage, and with all the talk of "removing the magic" I presumed that I

Re: How to create related table from field

2006-04-02 Thread akaihola
> If I understood docs correctly this is now possible in m-r branch. Sounds interesting! Which part of the docs? Wouldn't you need to specify the translated field in the i18n_for_foo table as well? For example an Article object would need translations for both the title and the content. --~--~

Re: [magic-removal] How to create related table from field

2006-03-31 Thread Nebojsa Djordjevic
nesh wrote: > I'm trying to create i18n aware Char and Text fields for m-r branch but I > can't figure out how to create additional > tables from field definition (something like M2M field does). > > Basically I need something like this: > > class Foo(models.Model): > bar = I18NCharField(

[magic-removal] How to create related table from field

2006-02-27 Thread nesh
I'm trying to create i18n aware Char and Text fields for m-r branch but I can't figure out how to create additional tables from field definition (something like M2M field does). Basically I need something like this: class Foo(models.Model): bar = I18NCharField(...) to create Foo model