Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias identifier ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Assign NameStore Dict TryExcept body Assign NameStore AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr handlers ExceptHandler body Assign NameStore NameLoad If UnaryOpNot NameLoad body Return Call NameLoad NameLoad Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str If NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr handlers ExceptHandler body Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Assign NameStore Dict Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Call NameLoad NameLoad Str NameLoad orelse Assign NameStore Str orelse Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict TryExcept body Assign NameStore AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr handlers ExceptHandler body Assign NameStore NameLoad If UnaryOpNot NameLoad body Return Call NameLoad NameLoad Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call NameLoad NameLoad Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Return Call NameLoad NameLoad Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Call NameLoad NameLoad Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr Assign NameStore ListLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body AugAssignAdd NameStore NameLoad Assign NameStore Dict Str Str NameLoad NameLoad Return Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str If NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler body Assign NameStore NameLoad If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str Assign NameStore NameLoad TryExcept body Assign NameStore AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr handlers ExceptHandler body Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr For NameStore NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str decorator_list NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Str Assign NameStore Dict For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr keyword Call NameLoad Str body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str attr keyword Call NameLoad Str attr Str attr Assign NameStore SubscriptLoad ListComp Dict Str Str Str SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Slice Num If CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Dict Str NameLoad Return Call NameLoad NameLoad Str NameLoad decorator_list Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq AttributeLoad SubscriptLoad NameLoad Index Str attr Str body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad orelse Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Num Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpDiv BinOpMult Num NameLoad BinOpMult Num NameLoad Assign NameStore BinOpMult Num NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body If BoolOpOr BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list
N/A N/A math N/A json collections OrderedDict django.core serializers django.http HttpResponse django.shortcuts render django.db.models Count django.db.models.query QuerySet django.contrib.auth authenticate login logout django.contrib.auth.decorators login_required user_passes_test django.views.decorators.csrf csrf_exempt hackday.voting.forms VoteForm AuthorizeForm VoteAuthorizeForm hackday.voting.models VoteCart Vote VoteStatus STATUS hackday.voting.moremodels Category TYPE hackday.teams.models Team STATUS TEAM_STATUS hackday.users.models User UserProfile DjangoJSONEncoder N/A N/A json JSONEncoder N/A default N/A N/A self obj N/A N/A N/A N/A isinstance obj QuerySet N/A N/A N/A N/A json loads N/A N/A serializers serialize json obj N/A N/A N/A JSONEncoder default self obj N/A N/A ipad_vote N/A N/A request N/A N/A N/A N/A logout request N/A env N/A N/A N/A N/A online N/A N/A N/A N/A N/A VoteStatus objects all N/A 0 online N/A N/A N/A N/A online False N/A N/A online N/A N/A N/A render request voting/vote_offline.html N/A error_message None N/A user None N/A votes N/A N/A N/A N/A request method POST N/A N/A form N/A VoteAuthorizeForm N/A request POST N/A N/A N/A form is_valid N/A N/A user N/A authenticate username N/A N/A form cleaned_data N/A user_name password N/A N/A form cleaned_data N/A password N/A user N/A N/A N/A N/A cart N/A N/A N/A VoteCart objects get user N/A user id N/A N/A N/A N/A cart N/A VoteCart user user status N/A STATUS ACTIVE N/A N/A N/A cart save N/A N/A key team N/A N/A N/A form cleaned_data items N/A N/A N/A N/A key startswith cat_ N/A N/A category_id N/A N/A key replace cat_ N/A category N/A N/A N/A Category objects get id category_id N/A N/A _insert_or_update_vote cart category team N/A N/A N/A votes append N/A category team category team N/A env N/A user user N/A N/A env N/A votes votes N/A N/A render request voting/ipad_vote_complete.html env N/A N/A error_message Bad username or password N/A N/A form N/A VoteAuthorizeForm N/A N/A env N/A form form N/A N/A env N/A error_message error_message N/A N/A render request voting/ipad_vote.html env N/A vote N/A N/A request N/A N/A N/A env N/A N/A N/A N/A online N/A N/A N/A N/A N/A VoteStatus objects all N/A 0 online N/A N/A N/A N/A online False N/A N/A online N/A N/A N/A render request voting/vote_offline.html N/A N/A N/A cart N/A N/A N/A VoteCart objects get user N/A N/A request user id N/A N/A N/A N/A cart N/A VoteCart user N/A request user status N/A STATUS ACTIVE N/A N/A N/A cart save N/A N/A N/A cart status N/A STATUS COMPLETED N/A N/A N/A render request voting/vote_complete.html N/A N/A N/A request method POST N/A N/A form N/A VoteForm N/A request POST N/A N/A N/A form is_valid N/A N/A N/A key team N/A N/A N/A form cleaned_data items N/A N/A category_id N/A N/A key replace cat_ N/A category N/A N/A N/A Category objects get id category_id N/A N/A _insert_or_update_vote cart category team N/A N/A render request voting/vote_complete.html N/A N/A votes N/A N/A N/A Vote objects filter cart N/A cart id N/A form_init N/A N/A vote votes N/A N/A N/A form_init N/A N/A cat_%s N/A N/A vote category id N/A N/A vote team id N/A form N/A VoteForm form_init N/A N/A env N/A form form N/A N/A render request voting/vote.html env N/A login_required info N/A N/A request N/A N/A N/A categories N/A N/A N/A N/A N/A Category objects filter type N/A TYPE VOTED order_by id N/A teams N/A N/A N/A N/A N/A Team objects filter status N/A TEAM_STATUS ACTIVE order_by id N/A judged N/A N/A N/A N/A N/A Category objects filter type N/A TYPE JUDGED order_by id N/A d N/A N/A category judged N/A N/A N/A d N/A N/A category name N/A t N/A t teams N/A N/A N/A t category id N/A category id N/A N/A N/A N/A d N/A N/A category name sort N/A ordered_teams N/A N/A o_dict N/A OrderedDict N/A sorted N/A N/A d items key N/A N/A N/A t N/A N/A len t N/A item N/A N/A o_dict values N/A N/A ordered_teams item N/A env N/A categories teams categories ordered_teams N/A N/A render request voting/info.html env N/A api_login N/A N/A request N/A N/A N/A env N/A status unauthorized N/A N/A N/A request method POST N/A N/A form N/A AuthorizeForm N/A request POST N/A N/A N/A form is_valid N/A N/A user N/A authenticate username N/A N/A form cleaned_data N/A user_name password N/A N/A form cleaned_data N/A password N/A user N/A N/A N/A N/A user_profile N/A N/A N/A UserProfile objects get user user N/A N/A N/A N/A user_profile None N/A N/A N/A user is_active user_profile N/A N/A N/A login request user N/A env N/A status ok N/A N/A HttpResponse N/A N/A json dumps env mimetype application/json N/A csrf_exempt api N/A N/A request N/A N/A N/A categories N/A N/A N/A N/A N/A Category objects filter type N/A TYPE VOTED order_by id N/A teams N/A N/A N/A N/A N/A Team objects filter status N/A TEAM_STATUS ACTIVE order_by id N/A users N/A N/A N/A N/A N/A User objects filter is_active True order_by id N/A judged N/A N/A N/A N/A N/A Category objects filter type N/A TYPE JUDGED order_by id N/A saved False N/A N/A N/A online N/A N/A N/A N/A N/A VoteStatus objects all N/A 0 online N/A N/A N/A N/A online False N/A N/A N/A cart N/A N/A N/A VoteCart objects get user N/A N/A request user id N/A N/A N/A N/A cart N/A VoteCart user N/A request user status N/A STATUS ACTIVE N/A N/A N/A cart save N/A N/A N/A request method POST N/A N/A form N/A VoteForm N/A request POST N/A N/A N/A N/A form is_valid online N/A N/A N/A key team N/A N/A N/A form cleaned_data items N/A N/A category_id N/A N/A key replace cat_ N/A category N/A N/A N/A Category objects get id category_id N/A N/A _insert_or_update_vote cart category team N/A saved True N/A vote_dict N/A N/A votes N/A N/A N/A Vote objects filter cart N/A cart id N/A vote votes N/A N/A N/A vote_dict N/A N/A N/A vote category id N/A N/A vote team id N/A env N/A categories judged_categories teams users online votes saved categories judged teams users online vote_dict saved N/A N/A HttpResponse N/A N/A json dumps env cls DjangoJSONEncoder mimetype application/json N/A csrf_exempt login_required results N/A N/A request N/A N/A N/A vote_results N/A N/A categories N/A N/A N/A N/A N/A Category objects filter type N/A TYPE VOTED order_by id N/A totals N/A N/A t N/A N/A N/A N/A N/A Vote objects values category annotate total N/A Count category N/A N/A N/A totals N/A N/A t N/A category N/A t N/A total N/A category categories N/A N/A votes N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Vote objects filter category category values team annotate votes N/A Count id order_by votes reverse N/A votes N/A N/A N/A votes percentage team N/A v N/A votes N/A _get_percentage N/A v N/A votes N/A totals N/A N/A category id N/A N/A N/A Team objects get id N/A v N/A team N/A v votes N/A 10 N/A N/A goat N/A N/A N/A request GET keys N/A N/A N/A _fix_votes votes N/A totals N/A N/A category id N/A N/A N/A vote_results append N/A category votes total category votes N/A N/A totals get N/A category id 0 N/A env N/A vote_results vote_results N/A N/A render request voting/results.html env N/A N/A user_passes_test N/A N/A N/A u N/A N/A u is_superuser _fix_votes N/A N/A votes total N/A N/A N/A N/A idx vote N/A enumerate votes N/A N/A N/A N/A N/A vote N/A team name Bring The Goat N/A N/A goat N/A votes N/A idx N/A N/A goat N/A percentage 100 N/A N/A goat N/A votes total N/A N/A N/A votes remove goat N/A N/A N/A votes insert 0 goat N/A N/A N/A N/A votes N/A idx N/A percentage 0 N/A N/A N/A votes N/A idx N/A votes 0 N/A _get_percentage N/A N/A votes total N/A N/A N/A percent N/A N/A 1.0 votes N/A 1.0 total N/A percent N/A 100 percent N/A N/A int N/A N/A math ceil percent N/A _insert_or_update_vote N/A N/A cart category team N/A N/A N/A N/A N/A team None N/A category None N/A N/A N/A N/A N/A category is_concept N/A team is_implemented N/A N/A category is_implemented N/A team is_concept N/A N/A N/A Exception invalid concept/implemenation match N/A N/A N/A vote N/A N/A N/A Vote objects get cart cart category category N/A N/A team None N/A N/A N/A N/A vote delete N/A N/A N/A vote team team N/A N/A N/A vote save N/A N/A N/A N/A N/A team None N/A N/A vote N/A Vote cart cart category category team team N/A N/A N/A vote save N/A