On Fri, Jun 11, 2010 at 3:47 PM, rahul jain <[email protected]> wrote: > Hi Tim, > > Here is my structure > > app > |-- __init__.py > |-- models.py (all my models) > |-- auth.py (python functions referencing models defined in models.py) > |-- blogs.py (python functions referencing models defined in models.py) > |-- views.py (python functions referencing models defined in models.py) > > > for auth.py and blogs.py referencing is giving import error. > > Again in these files. If I do import like > > from app.models import User then I get import error. > > For views.py I am able to easily import @above. > > --RJ >
That all looks correct. Are the file permissions correct? Can you show 'ls -l /path/to/app/' please. Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

