We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c5ceb commit 447bec8Copy full SHA for 447bec8
fields/fields.py
@@ -53,7 +53,7 @@ def total_seconds(value):
53
(value.microseconds / 1000000.0)
54
55
56
-class LocalImageField(BaseField):
+class LocalStorageFileField(BaseField):
57
58
proxy_class = FieldFile
59
@@ -68,7 +68,7 @@ def __init__(self,
68
self.upload_to = upload_to
69
if callable(upload_to):
70
self.generate_filename = upload_to
71
- super(LocalImageField, self).__init__(**kwargs)
+ super(LocalStorageFileField, self).__init__(**kwargs)
72
73
def __get__(self, instance, owner):
74
if instance is None:
0 commit comments