On 10/20/07, james_027 <[EMAIL PROTECTED]> wrote:
> but when I try to use it on my models.py in my forms.py it seems that
> the from app_name.XXX.models import * doesn't work anymore.

It sounds like you have a circular import problem. models.py is
importing forms.py, which is in turn importing models.py.
Unfortunately, models.py never finished importing (it's waiting on
forms.py), so there usually won't work properly.

I can understand why your forms.py is importing models.py, but the
real question is: why is models.py importing forms.py?

-Gul

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to