Skip to content
Snippets Groups Projects
Commit f2ac24cb authored by Steven Loria's avatar Steven Loria Committed by GitHub
Browse files

Merge pull request #120 from s0b0lev/issue-119

Refs Issue #119 replace session with current_user, remove unnecessary href
parents 16d886c0 2d0dbc69
No related branches found
No related tags found
No related merge requests found
...@@ -20,12 +20,12 @@ ...@@ -20,12 +20,12 @@
<div class="col-lg-4"> <div class="col-lg-4">
<h2><i class="fa fa-flask"></i> SQLAlchemy</h2> <h2><i class="fa fa-flask"></i> SQLAlchemy</h2>
<p>SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.</p> <p>SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.</p>
<p><a href="http://www.sqlalchemy.org/" class="btn btn-default" href="#">Official website &raquo;</a></p> <p><a href="http://www.sqlalchemy.org/" class="btn btn-default">Official website &raquo;</a></p>
</div> </div>
<div class="col-lg-4"> <div class="col-lg-4">
<h2><i class="fa fa-edit"></i> WTForms</h2> <h2><i class="fa fa-edit"></i> WTForms</h2>
<p>WTForms is a flexible forms validation and rendering library for python web development.</p> <p>WTForms is a flexible forms validation and rendering library for python web development.</p>
<p><a href="http://wtforms.simplecodes.com/" class="btn btn-default" href="#">Official website &raquo;</a></p> <p><a href="http://wtforms.simplecodes.com/" class="btn btn-default">Official website &raquo;</a></p>
</div> </div>
</div><!-- /.row --> </div><!-- /.row -->
</div> </div>
......
{% raw %} {% raw %}
{% extends "layout.html" %} {% extends "layout.html" %}
{% block content %} {% block content %}
<h1>Welcome {{ session.username }}</h1> <h1>Welcome {{ current_user.username }}</h1>
<h3>This is the members-only page.</h3> <h3>This is the members-only page.</h3>
{% endblock %} {% endblock %}
{% endraw%} {% endraw%}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment