This repository contains the source code for Make Amazing Django Form and Formset [in 7 Steps] Tutorial on Medium.
Open the terminal (cmd, powershell, git bash, ...) and:
git clone https://github.com/FatemeFouladkar/Django-Forms-and-Formsets.git
pip install virtualenv # install virtualenv
virtualenv .venv # make a virtualenv (in the project's directory)
.venv/Scripts/Activate.ps1 # activate the virtualenv
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Open the terminal and:
git clone https://github.com/FatemeFouladkar/Django-Forms-and-Formsets.git
pip install virtualenv # install virtualenv
virtualenv .venv # make a virtualenv (in the project's directory)
source .venv/bin/activate # activate the virtualenv
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver