old_contents: from models import QandaUser
  from django.contrib import auth
  
  def assert_qanda_user(function):
  	"""
  		Check if QandaUser exists for user and create if not
  	"""
  	def _decorated(*args, **kwargs):
  		user = auth.get_user(args[0])
  		if not QandaUser.objects.filter(djangoUser=user).exists():
  			QandaUser.objects.create_user(user)
  		print user.QandaUser
  		return function(*args, **kwargs)
  	return _decorated
new_contents: from models import QandaUser
  from django.contrib import auth
  
  def assert_qanda_user(function):
  	"""
  		Check if QandaUser exists for user and create if not
  	"""
  	def _decorated(*args, **kwargs):
  		user = auth.get_user(args[0])
  		if user.is_authenticated():
  			if not QandaUser.objects.filter(djangoUser=user).exists():
  				QandaUser.objects.create_user(user)
  			print user.QandaUser
  		return function(*args, **kwargs)
  	return _decorated
subject: check if user is not Anonymous