On Thu, 2008-11-13 at 17:06 -0800, Brandon Taylor wrote:
> Hi everyone,
>
> Gerard's suggestion worked. Moving the pattern into a separate
> definition fixed it. But, I couldn't explain why :)
Then there's some kind of bug there. :-(
Malcolm
--~--~-~--~~~---~--~-
Hi everyone,
Gerard's suggestion worked. Moving the pattern into a separate
definition fixed it. But, I couldn't explain why :)
Many thanks!
Brandon
On Nov 13, 6:48 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Fri, 2008-11-14 at 01:20 +0300, Alex Koshelev wrote:
> > Hmm... Why in temp
On Fri, 2008-11-14 at 01:20 +0300, Alex Koshelev wrote:
> Hmm... Why in template tag you wrote `conversions` as view name but in
> error traceback there is `my_site.conversions`?
Because the error reporting from URL resolution is retarded. :-(
The last thing it tries is . and that's what
it rep
Hmm... Why in template tag you wrote `conversions` as view name but in error
traceback there is `my_site.conversions`?
On Thu, Nov 13, 2008 at 06:27, Brandon Taylor <[EMAIL PROTECTED]>wrote:
>
> Hi everyone,
>
> So I have a question/problem with a named URL pattern...
>
> #urls.py
> url(r'^resou
Brandon Taylor wrote:
> Hi everyone,
>
> So I have a question/problem with a named URL pattern...
>
> #urls.py
> url(r'^resources/conversions/(?P[-\w]+)/$',
> 'my_site.views.conversions', name='conversions'),
>
> This is a mostly static site, but I would like to be able to pass the
> "conversio
Hi Chris,
Unfortunately, that doesn't work either. I guess I can just pass in a
dictionary of my local_variables and do them that way. A little
kludgy, but I guess it's not that bad, if that's what I have to do.
On Nov 13, 3:04 am, Chris Emerson <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 13, 2008
On Thu, Nov 13, 2008 at 02:56:26PM +1100, Malcolm Tredinnick wrote:
> On Wed, 2008-11-12 at 22:39 -0500, Karen Tracey wrote:
> > On Wed, Nov 12, 2008 at 10:27 PM, Brandon Taylor
> > <[EMAIL PROTECTED]> wrote:
> >
> > Hi everyone,
> >
> > So I have a question/problem with a named URL patt
On Wed, Nov 12, 2008 at 10:56 PM, Malcolm Tredinnick <
[EMAIL PROTECTED]> wrote:
>
> > The \w in your specifier for conversion_template matches [a-zA-Z0-9_]
> > but you are trying to match something with dashes in it.
>
> That isn't the issue. The pattern is [-\w], which will also match
> dashes.
Hi Malcom and Karen,
It will work if I pass the value for "conversion_template" as a
context variable, but not when setting it by hand. I'm not sure what
the difference is between that and simply saying {% url name
"my_value" %}
On Nov 12, 9:56 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
>
On Wed, 2008-11-12 at 22:39 -0500, Karen Tracey wrote:
> On Wed, Nov 12, 2008 at 10:27 PM, Brandon Taylor
> <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> So I have a question/problem with a named URL pattern...
>
> #urls.py
> url(r'^res
On Wed, Nov 12, 2008 at 10:27 PM, Brandon Taylor <[EMAIL PROTECTED]>wrote:
>
> Hi everyone,
>
> So I have a question/problem with a named URL pattern...
>
> #urls.py
> url(r'^resources/conversions/(?P[-\w]+)/$',
> 'my_site.views.conversions', name='conversions'),
>
> This is a mostly static site,
Hi everyone,
So I have a question/problem with a named URL pattern...
#urls.py
url(r'^resources/conversions/(?P[-\w]+)/$',
'my_site.views.conversions', name='conversions'),
This is a mostly static site, but I would like to be able to pass the
"conversion_template" parameter to do a dynamic incl
12 matches
Mail list logo