Hi there,

I have a problem with a project (svn repo below) and i tried everything
to fix it. Probably u guys can help. It seems to me some problem with
namespace import, particularly the *order* in which the names are
imported.

The code in the repo is already broken but u can "fix it" by commenting
the parts that import or use the Department model (though that's not
what i want).

And this is just the minimum to repro the problem... it actually gets
worse when i try to add more models (probably i'm just repeating the
same mistake). Could it be that it's a problem of circular references?

What looks especially funny to me is that "liger.people: cannot import
name Person" since the Person model is defined inside liger.people.

Source code here:
http://lorenzo.textdriven.com/svn/svn.djangoliger

C:\www\liger>python manage.py validate
liger.courses: cannot import name Major
liger.people: cannot import name Person
liger.time: cannot import name Person
liger.departments: cannot import name Department
4 errors found.

Thanks!

--
P.S To the moderators: sorry i had to change the name and email and the
post a little bit because i tried posting 3 times and i always get
caught in the Google Groups spamfilter for some reason. I tried with
all my emails but probably since they contain my name/surname they are
flagged. I can't even sign this msg with my name because i'm afraid it
will fall in Google's trap again.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to