bllendev / kalibre

ebook management django software - inspired by the original Calibre
https://kalibre-bllendev.herokuapp.com/
6 stars 0 forks source link

user setings - fix filed to use callable not defined dict obj and other logged issues #248

Open bllendev opened 1 week ago

bllendev commented 1 week ago

-1 | users.UserSettings.notifications: (fields.E010) JSONField default should be a callable instead of an instance so that it's not shared between all field instances. web-1 | HINT: Use a callable instead, e.g., use dict instead of {}. web-1 | users.UserSettings: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.