Ah now I see ;) url() is to be used if I don't need extra_directory,
any other differences?

On 9 Apr., 22:51, "Florian Apolloner" <[EMAIL PROTECTED]> wrote:
> When does I have to use url() as described 
> here:http://www.djangoproject.com/documentation/url_dispatch/#naming-url-p...
>
> Cause according to 
> here:http://www.djangoproject.com/documentation/url_dispatch/#patterns
> I already can pass the optional name.
> So what should I use?
>
> Btw: Maybe I am to silly but I cannot get named-url patterns to work,
> I even cannot provide you with an example cause I tried and tried and
> tried and wiped  out old stuff etc.
> One of my urls was:
> (r'^(page(?P<page>\d+)/)?$',
> 'django.views.generic.list_detail.object_list', info_dict),
> Maybe someone could look over it in the source, as others are having
> problems with it either...
>
> Thanks in advance Florian Apolloner


--~--~---------~--~----~------------~-------~--~----~
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