Exemple #1
0
def email_exists(email):
	'''  check for the existence of email '''
	
	redis_obj = Redis()
	return redis_obj.check_existence("email:%s:userId" % (email))
Exemple #2
0
def username_exists(username):
	'''  check for the existence of a username '''
	
	redis_obj = Redis()
	return redis_obj.check_existence("username:%s:userId" % (username))