-
Hello everyone, The ideal format it should have would be "id/year". class Test(Model):
but unfortunately when I save the progressive field it comes up "None/2022". I guess this is because at the time of saving there is no way to know what the 'id' of the record will be. I don't have to use the record id as long as the field is unique and auto generated. Is there any workaround ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What about use |
Beta Was this translation helpful? Give feedback.
What about use
signals.post_save
?