127 return render_template("/content.html", |
129 return render_template("/content.html", |
128 act="dates", content=content) |
130 act="dates", content=content) |
129 |
131 |
130 @app.route("/competition/2013") |
132 @app.route("/competition/2013") |
131 def competition_2013(): |
133 def competition_2013(): |
|
134 competition = _(u'Competition 2013') |
|
135 introduction = _(u'The winners of the programming competition, ' |
|
136 u'showed at the PyCon.DE 2013 in Cologne their results. ' |
|
137 u'A short presentation inlcuding a movie about their work done.') |
|
138 article = [_(u'Both students presented to the astonished audience of over 250 Python developers their work.'), |
|
139 _(u'A long applause showed up.' |
|
140 u' Valentin had 9 months ago learned Python and Blender discovered earlier. ' |
|
141 u'His Skatsimulation even includes 3D sound.'), |
|
142 _(u'The preparatory courses were made by volunteers, such as the ' |
|
143 u'employees of the magazine "Time Online" performed. ' |
|
144 u'The following blog entry is a little impression of the success of the courses'), |
|
145 ] |
|
146 game_of_life = _(u'Anne a 15 year old girl showed a 3D-Version of the »Game of life«') |
|
147 skat_simulation = _(u'Valentin (13 years) demomstrates his »Skat-Simulation«') |
|
148 awards = _(u'The award ceremony') |
132 return render_template("/impressions_2013.html", |
149 return render_template("/impressions_2013.html", |
133 act="competition_2013") |
150 act="competition_2013", |
|
151 competition=competition, |
|
152 introduction=introduction, |
|
153 article=article, |
|
154 game_of_life=game_of_life, |
|
155 skat_simulation=skat_simulation, |
|
156 awards=awards) |
134 |
157 |
135 |
158 |
136 @app.errorhandler(404) |
159 @app.errorhandler(404) |
137 def page_not_found(e): |
160 def page_not_found(e): |
138 msg = _(u"Url: %(url)s not found", url=request.url) |
161 msg = _(u"Url: %(url)s not found", url=request.url) |