mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-03-16 22:20:30 +00:00
Update models.py
Checking if class instantiation is required
This commit is contained in:
parent
fdb98d5c43
commit
fc8251edbd
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ class AvatarField(models.ImageField):
|
|||
|
||||
self.max_length = 1024
|
||||
self.upload_to = avatar_file_path
|
||||
self.storage = avatar_storage
|
||||
self.storage = avatar_storage()
|
||||
self.blank = True
|
||||
|
||||
def deconstruct(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue