On 15 déc, 17:00, Daniel Roseman wrote:
>
> Should be {% url app-edit object_id=object.pk %} - ie drop the quotes
> around app-edit.
Duh :( I missed that one...
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
On Tue, Dec 15, 2009 at 08:00:54AM -0800, Daniel Roseman wrote:
> Should be {% url app-edit object_id=object.pk %} - ie drop the quotes
> around app-edit.
Yes, this worked. Thanks, Daniel and Bruno!
With kind regards,
--
Baurzhan Ismagulov
http://www.kz-easy.com/
--
You received this message b
On Dec 15, 3:36 pm, Baurzhan Ismagulov wrote:
> On Mon, Dec 14, 2009 at 02:12:00AM -0800, bruno desthuilliers wrote:
> > > (r'^app/(?P\d+)/$', create_update.update_object,
> > > {'model': App}, 'app-edit'),
>
> > > Now, using {% url 'app-edit' object.pk %} in a form throws
> > > TemplateSyntaxErro
On Mon, Dec 14, 2009 at 02:12:00AM -0800, bruno desthuilliers wrote:
> > (r'^app/(?P\d+)/$', create_update.update_object,
> > {'model': App}, 'app-edit'),
> >
> > Now, using {% url 'app-edit' object.pk %} in a form throws
> > TemplateSyntaxError, mentioning "NoReverseMatch: Reverse for
> >
On 12 déc, 18:15, Baurzhan Ismagulov wrote:
> Hello,
>
> Another named URL question. I have the following pattern:
>
> (r'^app/(?P\d+)/$', create_update.update_object,
> {'model': App}, 'app-edit'),
>
> Now, using {% url 'app-edit' object.pk %} in a form throws
> TemplateSyntaxError, ment
Hello,
Another named URL question. I have the following pattern:
(r'^app/(?P\d+)/$', create_update.update_object,
{'model': App}, 'app-edit'),
Now, using {% url 'app-edit' object.pk %} in a form throws
TemplateSyntaxError, mentioning "NoReverseMatch: Reverse for
'rc.'app-edit'' with arg
6 matches
Mail list logo