On Mon, Nov 23, 2009 at 8:21 PM, neridaj <[email protected]> wrote:

> I don't see the difference between how the urls are setup for my blog
> app and my projects app:
>
> blog/
>    __init__.py
>    admin.py
>    feeds.py
>    models.py
>    views.py
>    urls/
>        __init__.py
>        categories.py
>        entries.py
>        links.py
>        tags.py
>
>
I don't see a file blog/urls/blog.py in which there is a "from blog.models
import something"


> projects/
>    __init__.py
>    admin.py
>    models.py
>    tests.py
>    urls/
>        __init__.py
>        projects.py
>
>
The problem is the duplicate projects in projects/urls/projects.py combined
with trying, in projects.py "from projects.models import something".  "from
projects", inside projects.py, is going to look inside projects.py to
satisfy the import.

Karen

--

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.


Reply via email to