nine day learning flask

cd flasky

source venv/bin/activate

python hello.py

OK

 

http://127.0.0.1:5000/      OK

 

 

2016.3.14
templates/base.html
{% extends "bootstrap/base.html" %}

{% block title %}Flasky{% endblock %}

{% block navbar %}
<div class="navbar navbar-inverse" role="navigation">
<div class="container">

<div class="button" class="navbar-toggle"
data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>

 

 

 

发表评论

电子邮件地址不会被公开。