Exemple #1
0
def search_for_registered_team(teamname,password):
	team_doc = coll_users.find_one({'teamname':teamname , 'registered':True,'password':password })
	return team_doc
Exemple #2
0
def search_for_unregistered_team(teamname):
	'''returns a document identifying if a team is registerted'''
	team_doc = coll_users.find_one({'teamname':teamname,'registered' :False })
	return team_doc