79146141

Date: 2024-10-31 19:45:28
Score: 0.5
Natty:
Report link

If you want to keep the line:

id = models.BigAutoField(primary_key=True)

You should had auto_created = True :

id = models.BigAutoField(primary_key=True, auto_created = True)

Else it is null as you get in your error message.

But you needn't really this line. Django do it by itself.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: cd187