Skip to main content

Tutorial to implement forms in your Flask app.

Project description

Flask-WTF Tutorial

Python Flask Flask-WTF GitHub Last Commit GitHub Issues GitHub Stars GitHub Forks

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 be wsgi.py).
  • FLASK_ENV: The environment to run your app in (either development or production).
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_wtforms_tutorial_al_test-0.1.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file flask_wtforms_tutorial_al_test-0.1.1.tar.gz.

File metadata

File hashes

Hashes for flask_wtforms_tutorial_al_test-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6ad80dfc7773b8bac8f9929bbe95317e544f11d36335f643db53d38851f5766f
MD5 fe4da5e1ffc1f644acfbd535935f3441
BLAKE2b-256 337f47c336325d0d7c5c60728d4a5fb830c9af54bc720ec58cd70c9992a9cb8e

See more details on using hashes here.

File details

Details for the file flask_wtforms_tutorial_al_test-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_wtforms_tutorial_al_test-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99354a4061514a95676fec53777eabe6321c6b8718b824b34a90097be072668b
MD5 83f04b558e1de1758b430a6129e9150a
BLAKE2b-256 79d9f73247e9072bf1804e00ffa94410a442cba03163d4d865532d0a333884df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page