Following a tutorial (which is over a year old), the instructions for creating an empty migration in an app named "accounts", in order to install PostgreSQL extensions, is as follows:
python manage.py makemigrations accounts --empty --name="postgres_extensions"
But when I enter this line in my Terminal, I get the following error:
ModuleNotFoundError: No module named 'settings'
Looking at the documentation in djangoproject.com, it seems the correct way to enter this in the Terminal would be:
python manage.py makemigrations --empty accounts --name postgres_extensions
But when I enter that in my Terminal, I get the same error as above.