https://www.django-rest-framework.org/tutorial/quickstart/
cd project_name
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
sudo -i -u postgres psql
CREATE DATABASE django_tutorial_rest_framework;
CREATE USER fudo4 WITH PASSWORD 'admin123';
GRANT ALL PRIVILEGES ON DATABASE django_tutorial_rest_framework TO fudo4;
python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py runserver
Whenever we create new project for django, we need to override the "user" model first, even if we gonna use it or not
To solve this error, we must drop the database, and that's not good, so we need to prevent that situation
snippets/serializers.py class CreateOrderSerializer()
snippets/views.py OrderViewSet.create()