Sunday, April 3, 2011

Re: Confusion with ROOT_URLCONF

On Apr 3, 2:55 pm, andy <flowar...@gmail.com> wrote:
> Well I'm guess you don't have to. Both ROOT_URLCONF = "foo.urls" and
> ROOT_URLCONF = "urls" seem to work fine.

Interesting, I just tried it that way, and sure enough it does work.
I had simply been following the examples in the tutorial, which showed
the foo.urls form. Perhaps it once had to be that way in an older
version and the docs just never got updated?

Now I'm curious how it works both ways.

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment