On Sep 15, 10:44 pm, Ross <[EMAIL PROTECTED]> wrote:
> Check out the description of the {% url %} tag in the Django
> documentation:
>
> http://docs.djangoproject.com/en/dev/ref/templates/builtins/#url
>
> It does not expect the project name to be in the URL. Try dropping
> "gpp" and just use "weblinks.views.view_links".

Hmmm, it isn't crystal clear (to me anyway) that you are supposed to
drop the application name. It says "The first argument is a path to a
view function in the format package.package.module.function.". That is
what I am doing: gpp.weblinks.views.view_links. Futhermore, this is
how I have been doing it since I started using django a few months
ago. Is there fallback logic in the url resolver logic that undoes
what I am doing?

Anyway, I will try it, but I believe I did already.

I am also seeing strange things if I change the order of the URLs in
my URL patterns list.
--~--~---------~--~----~------------~-------~--~----~
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