It was rw-r--r-- . I also modified it to 777 by" chmod -R 777". But
did not fix my problem.

This is the error which I am getting
ImportError: cannot import name <Model Name>

--RJ


On Fri, Jun 11, 2010 at 7:59 AM, Tom Evans <tevans...@googlemail.com> wrote:
> On Fri, Jun 11, 2010 at 3:47 PM, rahul jain <jainwolver...@gmail.com> 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 django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to