On maandag 9 juli 2018 14:58:25 CEST Derek wrote:
> Thanks Melvyn
>
> The call to reverse() *was* included in my original code snippets: see
> below.
>
> > return HttpResponseRedirect(
> >
> > reverse('uploads:upload_details',
> >
> > kwargs={'view': view, 'mid':result.pk})
>
> And that call does not work.
Ah, totally read over it. But - it *does* work, otherwise upload_details
wouldn't get called,
since the url would not have a 3 in it.
Your problem is somewhere else and I still don't get how the decorator ties in.
Try to
reduce it to an mcve[1].
--
Melvyn Sopacua
--------
[1] https://stackoverflow.com/help/mcve
--
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/2047086.mNi3lG958X%40fritzbook.
For more options, visit https://groups.google.com/d/optout.