Hallöchen!
Karen Tracey writes:
> [...]
>
> This is why the recommended approach is to put admin registrations
> in admin.py files, and include a call to admin.autodiscover() in
> urls.py. This ensures that all admin registrations are completed
> before the URL for the first incoming request is r
On Mon, Apr 5, 2010 at 8:35 AM, Torsten Bronger <
bron...@physik.rwth-aachen.de> wrote:
> Hallöchen!
>
> Thierry Chich writes:
>
> > Is manage.py sqlall working ?
>
> Yes.
>
> I think I understood the problem now. It's a complicated case of a
> cyclic import. If I have
>
> INSTALLED_APPS = (A, B
Hallöchen!
Thierry Chich writes:
> Is manage.py sqlall working ?
Yes.
I think I understood the problem now. It's a complicated case of a
cyclic import. If I have
INSTALLED_APPS = (A, B)
then "manage.py syncdb" tries to generate the tables for A and
imports A.models. The problem occurs if A
Is manage.py sqlall working ?
Le 5 avr. 2010 à 14:03, Torsten Bronger aachen.de> a écrit :
Hallöchen!
Torsten Bronger writes:
[...]
But it gets even more strange: The models module of "chantal_ipv"
imports models from "samples". I think this is the problem. If I
comment out all calls t
Hallöchen!
Torsten Bronger writes:
> [...]
>
> But it gets even more strange: The models module of "chantal_ipv"
> imports models from "samples". I think this is the problem. If I
> comment out all calls to admin.site.register in the models of
> "samples", it works! WTF?
I tracked the problem
Hallöchen!
I have
INSTALLED_APPS = (
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.admin",
"django.contrib.markup",
"chantal_ipv",
"chantal_common",
"staticfiles",
"samples",
)
However, syncdb ignores chantal_
6 matches
Mail list logo