if request.method == 'POST':
    form = MessageForm(request.POST)
if form.is_valid():
    post_on_organization_wall(request.user.subprofile, message, organisation)
else:
    form = MessageForm()
return render(request, 'organisation/wall_post.html', {'form': form})
Python: как «разветвить» сеанс в django