mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-05-18 04:21:07 +00:00
Merge pull request #3 from aptwebapps/master
Replace remaining occurences of AUTO_GENERATE_AVATAR_SIZES with AVATAR_A...
This commit is contained in:
commit
b9ac33b721
2 changed files with 2 additions and 2 deletions
|
|
@ -25,5 +25,5 @@ class AvatarConf(AppConf):
|
|||
AUTO_GENERATE_SIZES = (DEFAULT_SIZE,)
|
||||
|
||||
def configure_auto_generate_avatar_sizes(self, value):
|
||||
return value or getattr(settings, 'AUTO_GENERATE_AVATAR_SIZES',
|
||||
return value or getattr(settings, 'AVATAR_AUTO_GENERATE_SIZES',
|
||||
(self.DEFAULT_SIZE,))
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ Global Settings
|
|||
There are a number of settings available to easily customize the avatars that
|
||||
appear on the site. Listed below are those settings:
|
||||
|
||||
AUTO_GENERATE_AVATAR_SIZES
|
||||
AVATAR_AUTO_GENERATE_SIZES
|
||||
An iterable of integers representing the sizes of avatars to generate on
|
||||
upload. This can save rendering time later on if you pre-generate the
|
||||
resized versions. Defaults to ``(80,)``
|
||||
|
|
|
|||
Loading…
Reference in a new issue