Hi
the file full url like this
http://pastebin.com/ztF8VDET
I just try to pass the id as said but still did not work.
the error is this
NoReverseMatch at / admin / event / incricaoevento /
Reverse for 'evento.views.lista' with arguments '(1)' and keyword arguments
'{}' not found.
Now I do not know if you're calling the view correctly, if the error is in
reverse ("evento.views.lista", args = [self.evento.id]) or something that
gotta do with get_url the admin.
Em quarta-feira, 6 de novembro de 2013 15h30min26s UTC-2, Tom Evans
escreveu:
>
> You haven't shown the url in question, which makes it hard to answer.
>
> At a guess, the url specifies a %d parameter, you are passing it an
> object. Pass it self.evento.id
>
> Cheers
>
> Tom
>
> On Wed, Nov 6, 2013 at 5:15 PM, Ricardo Kamada
> <[email protected]<javascript:>>
> wrote:
> > Hi, I'm trying to do in list_display
> > a link to open in new tab list_display with results of my queryset.
> > http://dpaste.com/1445232/
> > that way I get this error reverse
> >
> > Reverse for 'evento.views.lista' with arguments '(<Evento: EVENT CITY
> 01>,)'
> > and keyword arguments '{}' not found.
> >
> > Could someone help me?
> > I do not understand why this error because I call the view and pass the
> > argument to the filter queryset but I get this error.
> > Ricardo
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups
> > "Django users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an
> > email to [email protected] <javascript:>.
> > To post to this group, send email to
> > [email protected]<javascript:>.
>
> > Visit this group at http://groups.google.com/group/django-users.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/django-users/CAJTdXTGNtZWmzsC7btxOLDymNr18hBpj8FxvSZDiAZ9uELevVA%40mail.gmail.com.
>
>
> > For more options, visit https://groups.google.com/groups/opt_out.
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/0700ad76-5d5f-44be-850c-98e6cf241052%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.