1.1 --- a/pymove3d.py Wed Dec 11 08:16:07 2013 +0100
1.2 +++ b/pymove3d.py Mon Dec 16 05:05:01 2013 +0100
1.3 @@ -11,14 +11,13 @@
1.4 from flask.ext.babel import Babel
1.5
1.6 app = Flask(__name__)
1.7 -babel = Babel(app)
1.8 +#babel = Babel(app)
1.9
1.10 -@babel.localeselector
1.11 -def get_locale():
1.12 - return "en" #request.accept_languages.best_match(LANGUAGES.keys())
1.13 +#@babel.localeselector
1.14 +#def get_locale():
1.15 +# return "en" #request.accept_languages.best_match(LANGUAGES.keys())
1.16
1.17 @app.route("/")
1.18 -
1.19 @app.route("/index")
1.20 def index():
1.21 return render_template("index.html")
1.22 @@ -52,6 +51,6 @@
1.23 return render_template("404.html"), 404
1.24
1.25 if __name__ == "__main__":
1.26 - app.run(host='localhost', port=5014, debug=True)
1.27 + app.run(host='localhost', port=5018, debug=False)
1.28
1.29
2.1 --- a/templates/theme.html Wed Dec 11 08:16:07 2013 +0100
2.2 +++ b/templates/theme.html Mon Dec 16 05:05:01 2013 +0100
2.3 @@ -67,8 +67,8 @@
2.4 {% block jumbotron %}{% endblock %}
2.5 <div class="clear"></div>
2.6 </div>
2.7 - {% block body %}{% endblock %}{% include "footer.html" %}
2.8 -
2.9 + {% block body %}{% endblock %}
2.10 + {% include "footer.html" %}
2.11 </div> <!-- /container -->
2.12
2.13