<s> from django . shortcuts import render <EOL> def supported_activities ( req ) : <EOL> ELLIPSES = "<STR_LIT>" <EOL> activities = { } <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , ELLIPSES ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , ELLIPSES ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" ] <EOL> activities [ "<STR_LIT>" ] = [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> activityList = [ ] <EOL> for act , synonyms in activities . items ( ) : <EOL> activityList . append ( { "<STR_LIT:name>" : act , "<STR_LIT>" : synonyms } ) <EOL> return render ( req , "<STR_LIT>" , { "<STR_LIT>" : activityList } ) </s>
