├── Chapter01 ├── README.md ├── my_app │ ├── __init__.py │ └── hello │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py ├── run.py └── setup.py ├── Chapter02 ├── README.md ├── my_app │ ├── __init__.py │ ├── product │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── bootstrap.min.js │ └── templates │ │ ├── base.html │ │ ├── home.html │ │ └── product.html ├── requirement.txt ├── run.py └── setup.py ├── Chapter03 ├── my_app │ ├── __init__.py │ └── catalog │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py └── run.py ├── Chapter04 ├── my_app │ ├── __init__.py │ ├── catalog │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── bootstrap.min.js │ └── templates │ │ ├── 404.html │ │ ├── base.html │ │ ├── categories.html │ │ ├── category.html │ │ ├── home.html │ │ ├── product-create.html │ │ ├── product.html │ │ └── products.html └── run.py ├── Chapter05 ├── my_app │ ├── __init__.py │ ├── catalog │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── bootstrap.min.js │ └── templates │ │ ├── 404.html │ │ ├── base.html │ │ ├── categories.html │ │ ├── category-create.html │ │ ├── category.html │ │ ├── home.html │ │ ├── product-create.html │ │ ├── product.html │ │ └── products.html └── run.py ├── Chapter06 ├── my_app │ ├── __init__.py │ ├── auth │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── bootstrap.min.js │ └── templates │ │ ├── base.html │ │ ├── home.html │ │ ├── login.html │ │ └── register.html └── run.py ├── Chapter07 ├── my_app │ ├── __init__.py │ ├── catalog │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── bootstrap.min.js │ └── templates │ │ ├── 404.html │ │ ├── base.html │ │ ├── categories.html │ │ ├── category.html │ │ ├── home.html │ │ ├── product-create.html │ │ ├── product.html │ │ └── products.html └── run.py ├── Chapter08 ├── my_app │ ├── __init__.py │ ├── auth │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── bootstrap.min.js │ └── templates │ │ ├── admin-home.html │ │ ├── base.html │ │ ├── edit.html │ │ ├── home.html │ │ ├── login.html │ │ ├── register.html │ │ ├── some-template.html │ │ ├── user-create-admin.html │ │ ├── user-update-admin.html │ │ └── users-list-admin.html └── run.py ├── Chapter09 ├── my_app │ ├── __init__.py │ ├── babel.cfg │ ├── catalog │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── messages.pot │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── bootstrap.min.js │ ├── templates │ │ ├── 404.html │ │ ├── base.html │ │ ├── categories.html │ │ ├── category-create.html │ │ ├── category.html │ │ ├── home.html │ │ ├── product-create.html │ │ ├── product.html │ │ └── products.html │ └── translations │ │ └── fr │ │ └── LC_MESSAGES │ │ ├── messages.mo │ │ └── messages.po └── run.py ├── Chapter10 ├── app_tests.py ├── generate_profile.py ├── my_app │ ├── __init__.py │ ├── babel.cfg │ ├── catalog │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── messages.pot │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── bootstrap.min.js │ ├── templates │ │ ├── 404.html │ │ ├── base.html │ │ ├── categories.html │ │ ├── category-create.html │ │ ├── category.html │ │ ├── home.html │ │ ├── product-create.html │ │ ├── product.html │ │ └── products.html │ └── translations │ │ └── fr │ │ └── LC_MESSAGES │ │ ├── messages.mo │ │ └── messages.po └── run.py ├── Chapter11 ├── MANIFEST.in ├── Procfile ├── apache_wsgi.conf ├── app.wsgi ├── app_tests.py ├── application.py ├── generate_profile.py ├── my_app │ ├── __init__.py │ ├── babel.cfg │ ├── catalog │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── messages.pot │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── bootstrap.min.js │ ├── templates │ │ ├── 404.html │ │ ├── base.html │ │ ├── categories.html │ │ ├── category-create.html │ │ ├── category.html │ │ ├── home.html │ │ ├── product-create.html │ │ ├── product.html │ │ └── products.html │ └── translations │ │ └── fr │ │ └── LC_MESSAGES │ │ ├── messages.mo │ │ └── messages.po ├── newrelic.ini ├── nginx-wsgi.conf ├── requirements.txt ├── run.py ├── setup.py ├── tornado_server.py └── uwsgi.ini ├── Chapter12 ├── my_app │ ├── __init__.py │ ├── catalog │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── static │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ └── main.css │ │ └── js │ │ │ └── bootstrap.min.js │ └── templates │ │ ├── 404.html │ │ ├── base.html │ │ ├── categories.html │ │ ├── category-create-email-html.html │ │ ├── category-create-email-text.html │ │ ├── category.html │ │ ├── home.html │ │ ├── product-create.html │ │ ├── product.html │ │ └── products.html └── run.py ├── Chapter13 ├── Docker │ ├── Dockerfile │ ├── MANIFEST.in │ ├── Procfile │ ├── apache_wsgi.conf │ ├── app.wsgi │ ├── app_tests.py │ ├── application.py │ ├── generate_profile.py │ ├── my_app │ │ ├── __init__.py │ │ ├── babel.cfg │ │ ├── catalog │ │ │ ├── __init__.py │ │ │ ├── models.py │ │ │ └── views.py │ │ ├── messages.pot │ │ ├── static │ │ │ ├── css │ │ │ │ ├── bootstrap.min.css │ │ │ │ └── main.css │ │ │ └── js │ │ │ │ └── bootstrap.min.js │ │ ├── templates │ │ │ ├── 404.html │ │ │ ├── base.html │ │ │ ├── categories.html │ │ │ ├── category-create.html │ │ │ ├── category.html │ │ │ ├── home.html │ │ │ ├── product-create.html │ │ │ ├── product.html │ │ │ └── products.html │ │ └── translations │ │ │ └── fr │ │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── newrelic.ini │ ├── nginx-wsgi.conf │ ├── requirements.txt │ ├── run.py │ ├── setup.py │ ├── tornado_server.py │ └── uwsgi.ini └── Lambda │ ├── README.md │ ├── my_app │ ├── __init__.py │ └── hello │ │ ├── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── run.py │ ├── setup.py │ └── zappa_settings.json ├── LICENSE └── README.md /Chapter01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter01/README.md -------------------------------------------------------------------------------- /Chapter01/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter01/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter01/my_app/hello/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter01/my_app/hello/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter01/my_app/hello/models.py -------------------------------------------------------------------------------- /Chapter01/my_app/hello/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter01/my_app/hello/views.py -------------------------------------------------------------------------------- /Chapter01/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter01/run.py -------------------------------------------------------------------------------- /Chapter01/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter01/setup.py -------------------------------------------------------------------------------- /Chapter02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/README.md -------------------------------------------------------------------------------- /Chapter02/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter02/my_app/product/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter02/my_app/product/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/my_app/product/models.py -------------------------------------------------------------------------------- /Chapter02/my_app/product/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/my_app/product/views.py -------------------------------------------------------------------------------- /Chapter02/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter02/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter02/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter02/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter02/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter02/my_app/templates/product.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/my_app/templates/product.html -------------------------------------------------------------------------------- /Chapter02/requirement.txt: -------------------------------------------------------------------------------- 1 | ccy 2 | -------------------------------------------------------------------------------- /Chapter02/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/run.py -------------------------------------------------------------------------------- /Chapter02/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter02/setup.py -------------------------------------------------------------------------------- /Chapter03/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter03/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter03/my_app/catalog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter03/my_app/catalog/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter03/my_app/catalog/models.py -------------------------------------------------------------------------------- /Chapter03/my_app/catalog/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter03/my_app/catalog/views.py -------------------------------------------------------------------------------- /Chapter03/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter03/run.py -------------------------------------------------------------------------------- /Chapter04/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter04/my_app/catalog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter04/my_app/catalog/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/catalog/models.py -------------------------------------------------------------------------------- /Chapter04/my_app/catalog/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/catalog/views.py -------------------------------------------------------------------------------- /Chapter04/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter04/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter04/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter04/my_app/templates/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/templates/404.html -------------------------------------------------------------------------------- /Chapter04/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter04/my_app/templates/categories.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/templates/categories.html -------------------------------------------------------------------------------- /Chapter04/my_app/templates/category.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/templates/category.html -------------------------------------------------------------------------------- /Chapter04/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter04/my_app/templates/product-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/templates/product-create.html -------------------------------------------------------------------------------- /Chapter04/my_app/templates/product.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/templates/product.html -------------------------------------------------------------------------------- /Chapter04/my_app/templates/products.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/my_app/templates/products.html -------------------------------------------------------------------------------- /Chapter04/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter04/run.py -------------------------------------------------------------------------------- /Chapter05/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter05/my_app/catalog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter05/my_app/catalog/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/catalog/models.py -------------------------------------------------------------------------------- /Chapter05/my_app/catalog/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/catalog/views.py -------------------------------------------------------------------------------- /Chapter05/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter05/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter05/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter05/my_app/templates/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/templates/404.html -------------------------------------------------------------------------------- /Chapter05/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter05/my_app/templates/categories.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/templates/categories.html -------------------------------------------------------------------------------- /Chapter05/my_app/templates/category-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/templates/category-create.html -------------------------------------------------------------------------------- /Chapter05/my_app/templates/category.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/templates/category.html -------------------------------------------------------------------------------- /Chapter05/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter05/my_app/templates/product-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/templates/product-create.html -------------------------------------------------------------------------------- /Chapter05/my_app/templates/product.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/templates/product.html -------------------------------------------------------------------------------- /Chapter05/my_app/templates/products.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/my_app/templates/products.html -------------------------------------------------------------------------------- /Chapter05/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter05/run.py -------------------------------------------------------------------------------- /Chapter06/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter06/my_app/auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter06/my_app/auth/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/my_app/auth/models.py -------------------------------------------------------------------------------- /Chapter06/my_app/auth/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/my_app/auth/views.py -------------------------------------------------------------------------------- /Chapter06/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter06/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter06/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter06/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter06/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter06/my_app/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/my_app/templates/login.html -------------------------------------------------------------------------------- /Chapter06/my_app/templates/register.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/my_app/templates/register.html -------------------------------------------------------------------------------- /Chapter06/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter06/run.py -------------------------------------------------------------------------------- /Chapter07/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter07/my_app/catalog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter07/my_app/catalog/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/catalog/models.py -------------------------------------------------------------------------------- /Chapter07/my_app/catalog/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/catalog/views.py -------------------------------------------------------------------------------- /Chapter07/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter07/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter07/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter07/my_app/templates/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/templates/404.html -------------------------------------------------------------------------------- /Chapter07/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter07/my_app/templates/categories.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/templates/categories.html -------------------------------------------------------------------------------- /Chapter07/my_app/templates/category.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/templates/category.html -------------------------------------------------------------------------------- /Chapter07/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter07/my_app/templates/product-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/templates/product-create.html -------------------------------------------------------------------------------- /Chapter07/my_app/templates/product.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/templates/product.html -------------------------------------------------------------------------------- /Chapter07/my_app/templates/products.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/my_app/templates/products.html -------------------------------------------------------------------------------- /Chapter07/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter07/run.py -------------------------------------------------------------------------------- /Chapter08/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter08/my_app/auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter08/my_app/auth/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/auth/models.py -------------------------------------------------------------------------------- /Chapter08/my_app/auth/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/auth/views.py -------------------------------------------------------------------------------- /Chapter08/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter08/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter08/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter08/my_app/templates/admin-home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/templates/admin-home.html -------------------------------------------------------------------------------- /Chapter08/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter08/my_app/templates/edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/templates/edit.html -------------------------------------------------------------------------------- /Chapter08/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter08/my_app/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/templates/login.html -------------------------------------------------------------------------------- /Chapter08/my_app/templates/register.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/templates/register.html -------------------------------------------------------------------------------- /Chapter08/my_app/templates/some-template.html: -------------------------------------------------------------------------------- 1 | This is a template just for demonstration of Flask Admin Views. 2 | -------------------------------------------------------------------------------- /Chapter08/my_app/templates/user-create-admin.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/templates/user-create-admin.html -------------------------------------------------------------------------------- /Chapter08/my_app/templates/user-update-admin.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/templates/user-update-admin.html -------------------------------------------------------------------------------- /Chapter08/my_app/templates/users-list-admin.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/my_app/templates/users-list-admin.html -------------------------------------------------------------------------------- /Chapter08/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter08/run.py -------------------------------------------------------------------------------- /Chapter09/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter09/my_app/babel.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/babel.cfg -------------------------------------------------------------------------------- /Chapter09/my_app/catalog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter09/my_app/catalog/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/catalog/models.py -------------------------------------------------------------------------------- /Chapter09/my_app/catalog/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/catalog/views.py -------------------------------------------------------------------------------- /Chapter09/my_app/messages.pot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/messages.pot -------------------------------------------------------------------------------- /Chapter09/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter09/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter09/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter09/my_app/templates/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/templates/404.html -------------------------------------------------------------------------------- /Chapter09/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter09/my_app/templates/categories.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/templates/categories.html -------------------------------------------------------------------------------- /Chapter09/my_app/templates/category-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/templates/category-create.html -------------------------------------------------------------------------------- /Chapter09/my_app/templates/category.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/templates/category.html -------------------------------------------------------------------------------- /Chapter09/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter09/my_app/templates/product-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/templates/product-create.html -------------------------------------------------------------------------------- /Chapter09/my_app/templates/product.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/templates/product.html -------------------------------------------------------------------------------- /Chapter09/my_app/templates/products.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/templates/products.html -------------------------------------------------------------------------------- /Chapter09/my_app/translations/fr/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/translations/fr/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /Chapter09/my_app/translations/fr/LC_MESSAGES/messages.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/my_app/translations/fr/LC_MESSAGES/messages.po -------------------------------------------------------------------------------- /Chapter09/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter09/run.py -------------------------------------------------------------------------------- /Chapter10/app_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/app_tests.py -------------------------------------------------------------------------------- /Chapter10/generate_profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/generate_profile.py -------------------------------------------------------------------------------- /Chapter10/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter10/my_app/babel.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/babel.cfg -------------------------------------------------------------------------------- /Chapter10/my_app/catalog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter10/my_app/catalog/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/catalog/models.py -------------------------------------------------------------------------------- /Chapter10/my_app/catalog/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/catalog/views.py -------------------------------------------------------------------------------- /Chapter10/my_app/messages.pot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/messages.pot -------------------------------------------------------------------------------- /Chapter10/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter10/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter10/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter10/my_app/templates/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/templates/404.html -------------------------------------------------------------------------------- /Chapter10/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter10/my_app/templates/categories.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/templates/categories.html -------------------------------------------------------------------------------- /Chapter10/my_app/templates/category-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/templates/category-create.html -------------------------------------------------------------------------------- /Chapter10/my_app/templates/category.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/templates/category.html -------------------------------------------------------------------------------- /Chapter10/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter10/my_app/templates/product-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/templates/product-create.html -------------------------------------------------------------------------------- /Chapter10/my_app/templates/product.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/templates/product.html -------------------------------------------------------------------------------- /Chapter10/my_app/templates/products.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/templates/products.html -------------------------------------------------------------------------------- /Chapter10/my_app/translations/fr/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/translations/fr/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /Chapter10/my_app/translations/fr/LC_MESSAGES/messages.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/my_app/translations/fr/LC_MESSAGES/messages.po -------------------------------------------------------------------------------- /Chapter10/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter10/run.py -------------------------------------------------------------------------------- /Chapter11/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/MANIFEST.in -------------------------------------------------------------------------------- /Chapter11/Procfile: -------------------------------------------------------------------------------- 1 | web: gunicorn -w 4 my_app:app --log-level debug 2 | -------------------------------------------------------------------------------- /Chapter11/apache_wsgi.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/apache_wsgi.conf -------------------------------------------------------------------------------- /Chapter11/app.wsgi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/app.wsgi -------------------------------------------------------------------------------- /Chapter11/app_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/app_tests.py -------------------------------------------------------------------------------- /Chapter11/application.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/application.py -------------------------------------------------------------------------------- /Chapter11/generate_profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/generate_profile.py -------------------------------------------------------------------------------- /Chapter11/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter11/my_app/babel.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/babel.cfg -------------------------------------------------------------------------------- /Chapter11/my_app/catalog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter11/my_app/catalog/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/catalog/models.py -------------------------------------------------------------------------------- /Chapter11/my_app/catalog/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/catalog/views.py -------------------------------------------------------------------------------- /Chapter11/my_app/messages.pot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/messages.pot -------------------------------------------------------------------------------- /Chapter11/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter11/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter11/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter11/my_app/templates/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/templates/404.html -------------------------------------------------------------------------------- /Chapter11/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter11/my_app/templates/categories.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/templates/categories.html -------------------------------------------------------------------------------- /Chapter11/my_app/templates/category-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/templates/category-create.html -------------------------------------------------------------------------------- /Chapter11/my_app/templates/category.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/templates/category.html -------------------------------------------------------------------------------- /Chapter11/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter11/my_app/templates/product-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/templates/product-create.html -------------------------------------------------------------------------------- /Chapter11/my_app/templates/product.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/templates/product.html -------------------------------------------------------------------------------- /Chapter11/my_app/templates/products.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/templates/products.html -------------------------------------------------------------------------------- /Chapter11/my_app/translations/fr/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/translations/fr/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /Chapter11/my_app/translations/fr/LC_MESSAGES/messages.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/my_app/translations/fr/LC_MESSAGES/messages.po -------------------------------------------------------------------------------- /Chapter11/newrelic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/newrelic.ini -------------------------------------------------------------------------------- /Chapter11/nginx-wsgi.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/nginx-wsgi.conf -------------------------------------------------------------------------------- /Chapter11/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/requirements.txt -------------------------------------------------------------------------------- /Chapter11/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/run.py -------------------------------------------------------------------------------- /Chapter11/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/setup.py -------------------------------------------------------------------------------- /Chapter11/tornado_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/tornado_server.py -------------------------------------------------------------------------------- /Chapter11/uwsgi.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter11/uwsgi.ini -------------------------------------------------------------------------------- /Chapter12/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter12/my_app/catalog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter12/my_app/catalog/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/catalog/models.py -------------------------------------------------------------------------------- /Chapter12/my_app/catalog/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/catalog/views.py -------------------------------------------------------------------------------- /Chapter12/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter12/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter12/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter12/my_app/templates/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/templates/404.html -------------------------------------------------------------------------------- /Chapter12/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter12/my_app/templates/categories.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/templates/categories.html -------------------------------------------------------------------------------- /Chapter12/my_app/templates/category-create-email-html.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/templates/category-create-email-html.html -------------------------------------------------------------------------------- /Chapter12/my_app/templates/category-create-email-text.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/templates/category-create-email-text.html -------------------------------------------------------------------------------- /Chapter12/my_app/templates/category.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/templates/category.html -------------------------------------------------------------------------------- /Chapter12/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter12/my_app/templates/product-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/templates/product-create.html -------------------------------------------------------------------------------- /Chapter12/my_app/templates/product.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/templates/product.html -------------------------------------------------------------------------------- /Chapter12/my_app/templates/products.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/my_app/templates/products.html -------------------------------------------------------------------------------- /Chapter12/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter12/run.py -------------------------------------------------------------------------------- /Chapter13/Docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/Dockerfile -------------------------------------------------------------------------------- /Chapter13/Docker/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/MANIFEST.in -------------------------------------------------------------------------------- /Chapter13/Docker/Procfile: -------------------------------------------------------------------------------- 1 | web: gunicorn -w 4 my_app:app --log-level debug 2 | -------------------------------------------------------------------------------- /Chapter13/Docker/apache_wsgi.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/apache_wsgi.conf -------------------------------------------------------------------------------- /Chapter13/Docker/app.wsgi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/app.wsgi -------------------------------------------------------------------------------- /Chapter13/Docker/app_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/app_tests.py -------------------------------------------------------------------------------- /Chapter13/Docker/application.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/application.py -------------------------------------------------------------------------------- /Chapter13/Docker/generate_profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/generate_profile.py -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/babel.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/babel.cfg -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/catalog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/catalog/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/catalog/models.py -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/catalog/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/catalog/views.py -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/messages.pot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/messages.pot -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/static/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/static/css/main.css -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/templates/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/templates/404.html -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/templates/base.html -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/templates/categories.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/templates/categories.html -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/templates/category-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/templates/category-create.html -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/templates/category.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/templates/category.html -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/templates/home.html -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/templates/product-create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/templates/product-create.html -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/templates/product.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/templates/product.html -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/templates/products.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/templates/products.html -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/translations/fr/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/translations/fr/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /Chapter13/Docker/my_app/translations/fr/LC_MESSAGES/messages.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/my_app/translations/fr/LC_MESSAGES/messages.po -------------------------------------------------------------------------------- /Chapter13/Docker/newrelic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/newrelic.ini -------------------------------------------------------------------------------- /Chapter13/Docker/nginx-wsgi.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/nginx-wsgi.conf -------------------------------------------------------------------------------- /Chapter13/Docker/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/requirements.txt -------------------------------------------------------------------------------- /Chapter13/Docker/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/run.py -------------------------------------------------------------------------------- /Chapter13/Docker/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/setup.py -------------------------------------------------------------------------------- /Chapter13/Docker/tornado_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/tornado_server.py -------------------------------------------------------------------------------- /Chapter13/Docker/uwsgi.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Docker/uwsgi.ini -------------------------------------------------------------------------------- /Chapter13/Lambda/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Lambda/README.md -------------------------------------------------------------------------------- /Chapter13/Lambda/my_app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Lambda/my_app/__init__.py -------------------------------------------------------------------------------- /Chapter13/Lambda/my_app/hello/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Chapter13/Lambda/my_app/hello/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Lambda/my_app/hello/models.py -------------------------------------------------------------------------------- /Chapter13/Lambda/my_app/hello/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Lambda/my_app/hello/views.py -------------------------------------------------------------------------------- /Chapter13/Lambda/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Lambda/run.py -------------------------------------------------------------------------------- /Chapter13/Lambda/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Lambda/setup.py -------------------------------------------------------------------------------- /Chapter13/Lambda/zappa_settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/Chapter13/Lambda/zappa_settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Flask-Framework-Cookbook-Second-Edition/HEAD/README.md --------------------------------------------------------------------------------