This commit is contained in:
Sebastian 2014-02-11 11:59:26 +01:00
parent 0cef00ca8f
commit d80b7c9b57
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ class STLUploadForm(ModelForm):
if matched_pattern != endsolid_pattern:
raise forms.ValidationError("Not a valid ascii STL file.")
stlfile.close()
# see https://code.djangoproject.com/ticket/20020
# stlfile.close()
return stlfile