mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-03-16 22:20:30 +00:00
Merge pull request #106 from davegaeddert/patch-2
Add AVATAR_GRAVATAR_DEFAULT and AVATAR_MAX_SIZE to docs
This commit is contained in:
commit
51c6cec178
1 changed files with 9 additions and 0 deletions
|
|
@ -117,10 +117,19 @@ AVATAR_GRAVATAR_BACKUP
|
|||
``Avatar`` instance is found in the system for the given user. Defaults to
|
||||
True.
|
||||
|
||||
AVATAR_GRAVATAR_DEFAULT
|
||||
A string determining the style of the default Gravatar. Available options
|
||||
listed in the
|
||||
(Gravatar documentation)[https://en.gravatar.com/site/implement/images/#default-image].
|
||||
Ex. 'retro'. Defaults to None.
|
||||
|
||||
AVATAR_DEFAULT_URL
|
||||
The default URL to default to if ``AVATAR_GRAVATAR_BACKUP`` is set to False
|
||||
and there is no ``Avatar`` instance found in the system for the given user.
|
||||
|
||||
AVATAR_MAX_SIZE
|
||||
File size limit for avatar upload. Default is ``1024 * 1024`` (1mb).
|
||||
|
||||
Management Commands
|
||||
-------------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue