Merge pull request #3 from aptwebapps/master

Replace remaining occurences of AUTO_GENERATE_AVATAR_SIZES with AVATAR_A...
This commit is contained in:
Tomas Babej 2014-07-19 16:33:02 +02:00
commit b9ac33b721
2 changed files with 2 additions and 2 deletions

View file

@ -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,))

View file

@ -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,)``