Brian Neal wrote:
>
>
> On Sep 19, 12:45 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
>> That's annoying: now *I* have a (named) pattern that won't reverse with
>> the URL tag: specifically, the edit profile URL from the Google code
>> profiles app:
>>
>>url(r'^edit/$',
>>
On Sep 19, 12:45 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> That's annoying: now *I* have a (named) pattern that won't reverse with
> the URL tag: specifically, the edit profile URL from the Google code
> profiles app:
>
> url(r'^edit/$',
> vi
Brian Neal wrote:
>
> On Sep 16, 4:09 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
>
>> Brian Neal wrote:
>>
>>> I might have found my answer. I was looking at the list of
>>> incompatible changes and found this:
>>>
>>> http://code.djangoproject.com/changeset/8760
>>>
>>> Whi
On Mon, 2008-09-15 at 20:44 -0700, Ross 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 "weblin
On Sep 16, 4:09 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> Brian Neal wrote:
> > I might have found my answer. I was looking at the list of
> > incompatible changes and found this:
>
> >http://code.djangoproject.com/changeset/8760
>
> > Which led me to this:
>
> >http://docs.djangoproject.com
Brian Neal wrote:
> I might have found my answer. I was looking at the list of
> incompatible changes and found this:
>
> http://code.djangoproject.com/changeset/8760
>
> Which led me to this:
>
> http://docs.djangoproject.com/en/dev/topics/http/urls/#reverse
>
> I quote from the docs:
>
> "The re
I might have found my answer. I was looking at the list of
incompatible changes and found this:
http://code.djangoproject.com/changeset/8760
Which led me to this:
http://docs.djangoproject.com/en/dev/topics/http/urls/#reverse
I quote from the docs:
"The reverse() function can reverse a large
hello,
you could try named url patterns.
> I am also seeing strange things if I change the order of the URLs in
> my URL patterns list.
please define "strange things" :) in general, the order of urls
matters because django starts rverse lookup from the top of the list
and stops at the first mat
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 "web
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".
On Sep 15, 9:19 pm, Brian Neal <[EMAIL
This is my urls.py for an app (notice the two that start with
^category/, they both vector to my function view_links):
from django.conf.urls.defaults import *
urlpatterns = patterns('gpp.weblinks.views',
(r'^$', 'link_index'),
(r'^add/$', 'add_link'),
(r'^category/(?P\d+)/$', 'view_link
11 matches
Mail list logo