r. Par exemple :
<code python>
url_for('static', filename='css/bootstrap/bootstrap.min.css')
</code>
C... * Commentaires
<code>
<div>
{{ url_for('static', filename='css/bootstrap/bootstrap.min.css') }} <!-- La... property="og:image" content="{{ url_for('static', filename='/tmp/sample.jpg') }}" />
<meta property=... fig options - Make sure you created a 'config.py' file.
# To get one variable, tape app.config['MY_VARIA
fig options - Make sure you created a 'config.py' file.
# To get one variable, tape app.config['MY_VARIA... username="Tomy",
photo=url_for('static', filename='tmp/cover_111823112767411.jpg'),
des... st_name')
uid = request.args.get('id')
profile_pic = 'https://graph.facebook.com/' + uid + '/pic...
username=req_username,
photo=profile_pic,
description=aDescription)
</code>
R
ssemblera la base de données de notre projet :
<file>
.----------------.
| Content |
|------... on |
| gender |
'----------------'
</file>
==== Interrogez une base ====
Pour interagir a... os
basedir = os.path.abspath( os.path.dirname(__file__) )
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.
fig options - Make sure you created a 'config.py' file.
# To get one variable, tape app.config['MY_VARIA... st_name')
uid = request.args.get('id')
profile_pic = 'https://graph.facebook.com/' + uid + '/pic... ,
username=req_username,
photo=profile_pic,
description=aDescription,
og