Update changelog with new feature

This commit is contained in:
Grant McConnaughey 2015-12-21 16:35:28 -06:00
parent 24f5452bbf
commit 55c27f7f73
2 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,9 @@
Changelog
=========
* 2.2.1 (Not released)
* Added AVATAR_GRAVATAR_FIELD setting to define the user field to get the gravatar email.
* 2.2.0 (December 2, 2015)
* Added Python 3.5 support
* Added Django 1.9 support

View file

@ -128,9 +128,9 @@ AVATAR_DEFAULT_URL
and there is no ``Avatar`` instance found in the system for the given user.
AVATAR_GRAVATAR_FIELD
The name of the user's field containing the gravatar email. Defaults to
``email``. If you put, for example, ``gravatar``, django-avatar will get the
user's gravatar in ``user.gravatar``.
The name of the user's field containing the gravatar email. For example, if you set
this to ``gravatar`` then django-avatar will get the user's gravatar in ``user.gravatar``.
Defaults to ``email``.
AVATAR_MAX_SIZE
File size limit for avatar upload. Default is ``1024 * 1024`` (1mb).