- Create a virtual environment
- activate virtual environment
- pip install django
- startproject
- startapp
- Add app to installed apps in settings
- Create urls.py file in app directory
- Create a templates folder in the app directory
- Run server
-
pip install psycopg2
-
configure the PostgreSQL in settings
-
run migration
-
create superuser
-
Create models
-
Makemigrations
-
run migrations
-
Register models in admin.py
-
Add tasks on the admin panel
-
Render the tasks on the template using a view function
- create forms.py in the app directory
- call the forms in the views