From f4c5e9165fcdcc118b848f076dd9363bcebefd58 Mon Sep 17 00:00:00 2001 From: Dave Gaeddert Date: Thu, 16 Jul 2015 15:28:52 -0500 Subject: [PATCH 1/2] Add GRAVATAR_DEFAULT and AVATAR_MAX_SIZE to docs --- docs/index.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/index.txt b/docs/index.txt index 7c63af6..780993d 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -117,10 +117,19 @@ AVATAR_GRAVATAR_BACKUP ``Avatar`` instance is found in the system for the given user. Defaults to True. +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 ------------------- From 200e4ae047e883451af6a1fc55bbc931fcfaddfa Mon Sep 17 00:00:00 2001 From: Dave Gaeddert Date: Sat, 18 Jul 2015 23:30:37 -0500 Subject: [PATCH 2/2] Rename GRAVATAR_DEFAULT to AVATAR_GRAVATAR_DEFAULT in docs --- docs/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.txt b/docs/index.txt index 780993d..c16a9c4 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -117,7 +117,7 @@ AVATAR_GRAVATAR_BACKUP ``Avatar`` instance is found in the system for the given user. Defaults to True. -GRAVATAR_DEFAULT +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].