--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/e2BIjOI44Bc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
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/3786925.Ha4mB3saOt%40fritzbook.
For more options, visit https://groups.google.com/d/optout.
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.
--
Melvyn Sopacua