Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AVATAR_GRAVATAR_DEFAULT and AVATAR_MAX_SIZE to docs #106

Merged
merged 2 commits into from
Jul 19, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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