Tutorial to implement forms in your Flask app.
Project description
Flask-WTF Tutorial
Source code for the accompanying tutorial found here: https://hackersandslackers.com/flask-wtforms-forms/
Getting Started
Get set up locally in two steps:
Environment Variables
Replace the values in .env.example with your values and rename this file to .env:
FLASK_APP
: Entry point of your application (should bewsgi.py
).FLASK_ENV
: The environment to run your app in (eitherdevelopment
orproduction
).SECRET_KEY
: Randomly generated string of characters used to encrypt your app's data.
Remember never to commit secrets saved in .env files to Github.
Installation
Get up and running with make deploy
:
$ git clone https://github.com/hackersandslackers/flask-wtform-tutorial.git
$ cd flask-wtform-tutorial
$ make deploy
Hackers and Slackers tutorials are free of charge. If you found this tutorial helpful, a small donation would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flask_wtforms_tutorial_al_test-0.1.1.tar.gz
.
File metadata
- Download URL: flask_wtforms_tutorial_al_test-0.1.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.1 CPython/3.8.2 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ad80dfc7773b8bac8f9929bbe95317e544f11d36335f643db53d38851f5766f |
|
MD5 | fe4da5e1ffc1f644acfbd535935f3441 |
|
BLAKE2b-256 | 337f47c336325d0d7c5c60728d4a5fb830c9af54bc720ec58cd70c9992a9cb8e |
File details
Details for the file flask_wtforms_tutorial_al_test-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: flask_wtforms_tutorial_al_test-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.1 CPython/3.8.2 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99354a4061514a95676fec53777eabe6321c6b8718b824b34a90097be072668b |
|
MD5 | 83f04b558e1de1758b430a6129e9150a |
|
BLAKE2b-256 | 79d9f73247e9072bf1804e00ffa94410a442cba03163d4d865532d0a333884df |