Thursday, March 29, 2012

Re: Problems with {% url %} in templates

On Mar 29, 2012, at 12:59 PM, Alasdair Nicol wrote:

> Hi Jamie,

> Don't include the (.*)$ in the regex for the include. The documented pattern [1] for the include is
>
> (r'^d/events/', include('myproject.events.urls')),

Ah, thank you, that was it. (I do need sleep - don't know how long I was staring at that and not seeing it.)

Thanks again, Alasdair.

-j

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