Skip to content

Commit

Permalink
Update changelog with new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
grantmcconnaughey committed Dec 21, 2015
1 parent 24f5452 commit 55c27f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 55c27f7

Please sign in to comment.