Hello,
Many new user problems here:
Got the code from my repo and went with an inititial migration for the models:
(module_one-virtualenv) 23:35 ~/module_one (master)$ python manage.py makemigrations
Migrations for 'dirt':
dirt/migrations/0001_initial.py
- Create model All_Data
- Create model Beaches
- Create model Codes
- Create model Finance
- Create model References
- Create model SLR_Beaches
- Create model SLR_Data
- Create model SLR_Density
Looks good here but then when I go to migrate:
(module_one-virtualenv) 23:35 ~/module_one (master)$ python manage.py migrate
System check identified some issues:
WARNINGS:
?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default'
HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, such as data truncation upon insertion, by escalating warnings
into errors. It is strongly recommended you activate it. See: https://docs.djangoproject.com/en/2.0/ref/databases/#mysql-sql-mode
Operations to perform:
Apply all migrations: admin, auth, contenttypes, dirt, sessions
Running migrations:
No migrations to apply.
How do I set strict mode ? And is that really keeping the migrations from happening?
Thanks