Django dirty draft
New Project (inside project folder) virtualenv -p python3.7 backend cd backend source bin/activate pip install django Django-admin startproject core cd core #Migrate the models Python manage.py makemigrations Python manage.py migrate Python manage.py createsuperuser python manage.py runserver Create App python manage.py startapp Fix migrations problems python manage.py showmigrations python manage.py migrate --fake core zero find . -path "*/migrations/*.py" -not -name "__init__.py" -delete find . -path "*/migrations/*.pyc" -delete python manage.py makemigrations python manage.py migrate --fake-initial setUp and tearDown : These are functions to be executed before (setUp) and after (tearDown) in each unit test. These are very useful for fixtures. setUpClass and tearDownClass : In an analogous way of setUp and tearDown, these functions are executed before (setUpClass) and after (tearDownClass) during the whole test case. This...