How you can create complex auto-generated field in Django?

How you can create in the model are automatically generated field something like
+AutoField

Example. I add records and fields the machine is affixed
DOOM-0
DOOM-1
where "DOOM" is the prefix and 0, 1 - autoincrement counter to ensure uniqueness of values.
June 10th 19 at 16:17
0 answer

Find more questions by tags Django