mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-03-16 22:20:30 +00:00
Update changelog with new feature
This commit is contained in:
parent
24f5452bbf
commit
55c27f7f73
2 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Reference in a new issue