I had the same problem recently in a template that was created for use
in an inclusion_tag. My workaround was to the perform the reverse call
in the templatetag and pass in the resulting url.
If that is not an appropriate workaround for you, perhaps a "with"
will do the trick. If that doesn't wor
On Nov 27, 10:43 pm, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> On 27 nov, 14:19, dash86no <[EMAIL PROTECTED]> wrote:
> (snip)
>
> > However, when I do :
>
> > delete
>
> > I get the error:
>
> > Caught an exception while rendering: Reverse for 'sam_project.delete-
> > quote-page,' with arg
On 27 nov, 14:19, dash86no <[EMAIL PROTECTED]> wrote:
(snip)
> However, when I do :
>
> delete
>
> I get the error:
>
> Caught an exception while rendering: Reverse for 'sam_project.delete-
> quote-page,' with arguments '('',)' and keyword arguments '{}' not
> found.
>
> If anyone has any hints th
Why don't write {% url delete-quote-page object.id %} ?
HTH
//Thomas
On Nov 27, 2:19 pm, dash86no <[EMAIL PROTECTED]> wrote:
> I'm trying to use a URL tag as following:
>
> delete
>
> my named url is here:
>
> url(r'^quote/delete/(?P\d+)/$',
> 'django.views.generic.create_update.delete_object',
I'm trying to use a URL tag as following:
delete
my named url is here:
url(r'^quote/delete/(?P\d+)/$',
'django.views.generic.create_update.delete_object', dict(quote_info,
post_delete_redirect='/sam/'), name="delete-quote-page"),
If I change the code to look like this:
http://localhost:8000/
5 matches
Mail list logo