On Sat, 2008-11-29 at 12:48 -0800, David Elias wrote:
> In my projects i often split models into several files inside a models
> folder:
>
> some_app /
> models /
> __init__.py
> some_models.py
> other_models.py
> ...
>
> I know i must set app_label in Meta o
Christian Schilling wrote:
> I think the problem here is that you need to alter a model after
> django has initialized it, because there is just no other way to auto-
> detect
> the field-type of the mirrored field. So eliminating the need to type
> both the related model name as well as the field
In my projects i often split models into several files inside a models
folder:
some_app /
models /
__init__.py
some_models.py
other_models.py
...
I know i must set app_label in Meta options, but even so
Model._meta.installed returns false. In
django.db.models.
On Nov 28, 5:30 pm, Andrew Godwin <[EMAIL PROTECTED]> wrote:
>
> One: This is the MirrorField equivalent in the example:
>
> @denormalized(models.CharField,max_length=100)
> @depend_on_related(User)
> def owner_username(self):
> return self.owner.username
>
> While it's reall