Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 948 Bytes

README.md

File metadata and controls

56 lines (36 loc) · 948 Bytes

To do list in Flask

This is a to do list created using flask, Data Base, HTML, and Jinja. All Modules need to create this project are in the README.md file.

Modules

virtualenv

pip install virtualenv

After insalling this module, type virtualenv env, it will create a folder.

flask

pip install flask

This is very important module don't forget to install it.

flask_sqlalchemy

pip install flask_sqlalchemy

This module will help us to use database.

datetime

pip install datetime

This is already installed but sometime you get errors

So you can install this.

How to run??

python (file_name).py

todo.db Error

If you get an error saying that no file named todo.db, what you need to do is, firstly open terminal

Type python and press enter

After that, type, and one more thing, don't type file_name.py type file_name only

>>> from (file_name) import db
>>> db.create_all()