In the Django admin interface, is there a way to duplicate an item?

You can save as by just enabling adding this to your ModelAdmin:

save_as = True

This replaces the “Save and add another” button with 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.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)