Set save_as to enable a “save as” feature on admin change forms.
Normally, objects have three save options: “Save”, “Save and continue editing” and “Save and add another”. If save_as is True, “Save and add another” will be replaced by a “Save as” button.
“Save as” means the object will be saved as a new object (with a new ID), rather than the old object.
By default, save_as is set to False.
django : how to rename a record in the admin panel
سؤال
In the admin panel, can you rename a record (eg CT33 in CT34 without CT33 erasing )?
for example in the admin panel, two buttons save and save as
لا يوجد حل صحيح
نصائح أخرى
لا تنتمي إلى StackOverflow