Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #14760 - Admin inlines with file/image field fails to save_as #2246

Conversation

bmihelac
Copy link
Contributor

@bmihelac bmihelac commented Feb 9, 2014

#697 reworked for master.

Refactored BaseInlineFormSet and ModelAdmin to copy initial
values (file name) for fields of FileField or it's subclasses.

'physical' file do not get duplicated.

…e_as

Refactored BaseInlineFormSet and ModelAdmin to copy initial
values (file name) for fields of FileField or it's subclasses.

'physical' file do not get duplicated.
from django.http.response import HttpResponseBase
from django.http import Http404, HttpResponseRedirect
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't move import. Also the import in the line below should be alphabetized.

@timgraham
Copy link
Member

Please send a new PR if you'd like to revisit this.

@timgraham timgraham closed this Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants