adds feature #191
This commit is contained in:
parent
09844ef759
commit
626b002762
23 changed files with 95 additions and 59 deletions
|
@ -315,7 +315,10 @@ def misc(request):
|
|||
form.save()
|
||||
messages.info(request, _("Post reported."))
|
||||
return HttpResponseRedirect(post.get_absolute_url())
|
||||
return render(request, 'djangobb_forum/report.html', {'form':form})
|
||||
return render(request, 'djangobb_forum/report.html', {
|
||||
'form': form,
|
||||
'post': post,
|
||||
})
|
||||
|
||||
elif 'submit' in request.POST and 'mail_to' in request.GET:
|
||||
form = MailToForm(request.POST)
|
||||
|
|
Reference in a new issue