Thanks for the links.
On Nov 17, 7:56 pm, Karen Tracey wrote:
> On Tue, Nov 17, 2009 at 7:33 PM, ringemup wrote:
>
> > It's really problematic to generate all the URLs (there are a lot of
> > them) in the view and then retrieve the correct ones in the correct
> > places in the template. It see
On Tue, Nov 17, 2009 at 7:33 PM, ringemup wrote:
>
> It's really problematic to generate all the URLs (there are a lot of
> them) in the view and then retrieve the correct ones in the correct
> places in the template. It seems odd to me that {% url %} shouldn't
> be able to take a variable view
It's really problematic to generate all the URLs (there are a lot of
them) in the view and then retrieve the correct ones in the correct
places in the template. It seems odd to me that {% url %} shouldn't
be able to take a variable view name.
On Nov 17, 7:24 pm, Karen Tracey wrote:
> On Tue, N
On Tue, Nov 17, 2009 at 7:05 PM, ringemup wrote:
> Is there any way to make the following work? Right now it's throwing
> a template syntax error, apparently treating "the_pattern" as a string
> literal instead of a variable name and looking for a view named
> "the_pattern".
>
> [urls.py]
> urlp
Is there any way to make the following work? Right now it's throwing
a template syntax error, apparently treating "the_pattern" as a string
literal instead of a variable name and looking for a view named
"the_pattern".
[urls.py]
urlpatterns = patterns('',
(r'^(?P\s{1,8})/$', 'myapp.views.my_v
5 matches
Mail list logo