79319504

Date: 2024-12-31 08:33:02
Score: 1.5
Natty:
Report link

You can create a Setting without using transaction.on_commit. This ensures that if the main transaction fails, the entire transaction, including all records created in signals and within the save method of your model, is rolled back.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mohammad rezazadeh