RealGeeks / django-modelclone

Allows users to duplicate a model in admin
Other
58 stars 40 forks source link

Saves ImageFiles from original object, fix "Save and Continue..." wrong redirect path and russian localization #7

Closed applecat closed 10 years ago

igorsobreira commented 10 years ago

Thanks @applecat! New feature and bugfixes!

I was in doubt about the behavior of the file fields, if I wanted to just use the same file and duplicate the path or actually duplicate the file on disk.

I ended up not implemented because I wasn't using. But code wins, so let's do this way! Maybe in the future I could add a setting to duplicate the file on disk or add a hook to let users decide what to do with the file.

And your change=False also fixed #4