• Stars
    star
    135
  • Rank 267,845 (Top 6 %)
  • Language Jinja
  • License
    MIT License
  • Created almost 5 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ“๐Ÿ˜Ž Tutorial to implement forms in your Flask app.

Flask-WTF Tutorial

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

Flask-WTF Tutorial

Handle user input in your Flask app by creating forms with the Flask-WTForm library.

Getting Started

Get set up locally:

Installation

Get up and running with make deploy:

$ git clone https://github.com/hackersandslackers/flask-wtform-tutorial.git
$ cd flask-wtform-tutorial
$ make deploy

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.


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.

More Repositories

1

flask-blueprint-tutorial

๐Ÿ“˜ ๐Ÿ“ฆ Structure your Flask apps in a scalable and intelligent way using Blueprints.
Jinja
446
star
2

flask-sqlalchemy-tutorial

๐Ÿ โ„น๏ธ Create and manage data in your Flask app via a SQL database.
Python
389
star
3

flask-session-tutorial

๐Ÿ’พ ๐Ÿ™‡ Example Flask project for implementing Flask-Session with Redis.
Python
93
star
4

sqlalchemy-tutorial

๐Ÿงช๐Ÿ”ฌ Use SQLAlchemy to connect, query, and interact with relational databases.
Python
71
star
5

flask-jinja-tutorial

โ›ฉ๏ธ Serve dynamic web pages in Flask by mastering Flask's built-in templating engine.
Makefile
52
star
6

beautifulsoup-tutorial

โœจ ๐Ÿœ Scrape webpage metadata using BeautifulSoup.
Python
45
star
7

python-poetry-tutorial

๐Ÿ โœ๏ธ Simple Python project built with Poetry.
Python
42
star
8

pandas-sqlalchemy-tutorial

๐Ÿผ ๐Ÿ’ป Load or insert data into a SQL database using Pandas DataFrames.
Python
29
star
9

redis-python-tutorial

๐Ÿ…พ๏ธ ๐Ÿ’ญ Leverage in-memory data storage to make your Python apps snappy.
Python
23
star
10

googlecloud-storage-tutorial

๐Ÿ’พ โ˜๏ธ Tutorial for interacting with Google Cloud Storage via the Python SDK.
Python
23
star
11

psycopg2-tutorial

๐Ÿ˜ ๐Ÿ’พ Tutorial for connecting to a Postgres database in Python.
Python
20
star
12

django-views-tutorial

๐Ÿš€ โœ… Function and class-based Django view repository.
JavaScript
19
star
13

bigquery-sqlalchemy-tutorial

๐Ÿ“Š โžก๏ธ ๐Ÿ’พ ETL script to migrate data from BigQuery to SQL.
Python
17
star
14

aiohttp-aiofiles-tutorial

๐Ÿ”„ ๐ŸŒ Handle thousands of HTTP requests, disk writes, and other I/O-bound tasks simultaneously with Python's quintessential async libraries.
HTML
15
star
15

django-intro-tutorial

๐Ÿš€โœ… Get started with Django by building your first web app.
JavaScript
12
star
16

flask-assets-tutorial

๐Ÿ“ฏ ๐Ÿ“„ Serve compiled frontend assets in Flask with `Flask-Assets`.
Python
12
star
17

jsonld-scraper-tutorial

๐ŸŒŽ ๐Ÿ–ฅ Supercharge your scraper to extract quality page metadata by parsing JSON-LD data via Python's extruct library.
Python
12
star
18

hackersandslackers-theme

๐Ÿ‘ป ๐Ÿ“ โœจ Clean Ghost theme with advanced features & customization.
SCSS
11
star
19

bigquery-python-tutorial

๐Ÿ“Š ๐Ÿ Create tables in Google BigQuery, auto-generate their schemas, and retrieve said schemas.
Python
9
star
20

hackers

Fully-featured & user-friendly Ghost Theme.
CSS
6
star
21

asyncio-tutorial-part1

๐Ÿ๐Ÿ” Intro to concurrency in Python with Asyncio.
Python
5
star
22

asyncio-tutorial-part2

Intro to concurrency in Python with Asyncio.
Python
4
star
23

plotly-chartstudio-tutorial

๐Ÿ“ˆ ๐Ÿ“Š Create Cloud-hosted Charts with Plotly Chart Studio.
Python
4
star
24

gcloud-image-transformer

๐Ÿ–ผ๐Ÿ”จ Optimize images hosted on Google Cloud Storage.
Python
4
star
25

golang-helloworld

๐Ÿน ๐Ÿ’ฌ Create your first "Hello world" app written in Golang.
Go
4
star
26

netlify-functions-tutorial

๐ŸŸฉ ๐Ÿน Write and deploy Golang Lambda Functions to your GatsbyJS site on Netlify.
JavaScript
2
star
27

java-mysql-tutorial

Java
1
star
28

hackersandslackers

Hackers and Slackers
1
star
29

ghost-sql-sanitation

๐Ÿ‘ป ๐Ÿ–ฒ Sanitize Ghost Blog SQL data on a schedule to ensure content quality.
Python
1
star