You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In latest django versions a warning is emitted when models do not explicitly define a primary key.
(somus-api) ~/Documents/code/somus/somus-api(hotfix/video-encoding-update ✗) python manage.py runserver
2021-10-15 23:16:56,588 django.utils.autoreload INFO Watching for file changes with StatReloader
Performing system checks...
System check identified some issues:
WARNINGS:
video_encoding.Format: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
I'll come back with a PR shortly.
The text was updated successfully, but these errors were encountered:
In latest django versions a warning is emitted when models do not explicitly define a primary key.
I'll come back with a PR shortly.
The text was updated successfully, but these errors were encountered: