Fix about view

master
Steven Loria 11 years ago
parent 0c23b5e6c8
commit e59ebf02c4
  1. 2
      {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/public/views.py
  2. 2
      {{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/templates/public/home.html

@ -56,7 +56,7 @@ def register():
@blueprint.route("/about/") @blueprint.route("/about/")
def about(): def about():
form = LoginForm(request.form) form = LoginForm(request.form)
return render_template("about.html", form=form) return render_template("public/about.html", form=form)
@blueprint.errorhandler(404) @blueprint.errorhandler(404)
def page_not_found(e): def page_not_found(e):

@ -6,7 +6,7 @@
{% endraw %} {% endraw %}
<h1>Welcome to {{ cookiecutter.project_name }}</h1> <h1>Welcome to {{ cookiecutter.project_name }}</h1>
{% raw %} {% raw %}
<p>This is a starter Flask template. It includes the Twitter Bootstrap 3, jQuery 2, Flask-SQLAlchemy, WTForms, and various testing utilities out of the box.</p> <p>This is a starter Flask template. It includes Twitter Bootstrap 3, jQuery 2, Flask-SQLAlchemy, WTForms, and various testing utilities out of the box.</p>
<p><a href="https://github.com/sloria/cookiecutter-flask" class="btn btn-primary btn-large">Learn more &raquo;</a></p> <p><a href="https://github.com/sloria/cookiecutter-flask" class="btn btn-primary btn-large">Learn more &raquo;</a></p>
</div><!-- /.jumbotron --> </div><!-- /.jumbotron -->

Loading…
Cancel
Save