django: add auto field default

Since Django 3.2 [1] the model's implicit primary key can be specified. If it is unspecified it raises a warning. Specifying the default here should avoid this, and also avoids unnecessary migrations.

[1] https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keys

Merge request reports

Loading