Skip to content

Commit

Permalink
Merge pull request #106 from davegaeddert/patch-2
Browse files Browse the repository at this point in the history
Add AVATAR_GRAVATAR_DEFAULT and AVATAR_MAX_SIZE to docs
  • Loading branch information
grantmcconnaughey committed Jul 19, 2015
2 parents 1c69ecc + 200e4ae commit 51c6cec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------------

Expand Down

0 comments on commit 51c6cec

Please sign in to comment.