return HttpResponseRedirect(answer.get_absolute_url())
else:
request.session['temp_node_data'] = request.POST
request.session['temp_node_type'] = 'answer'
request.session['temp_question_id'] = id
return HttpResponseRedirect(reverse('auth_action_signin', kwargs={'action': 'newquestion'}))
return HttpResponseRedirect(answer.get_absolute_url())
else:
request.session['temp_node_data'] = request.POST
request.session['temp_node_type'] = 'answer'
request.session['temp_question_id'] = id
return HttpResponseRedirect(reverse('auth_action_signin', kwargs={'action': 'newquestion'}))