Always compute absolute URL of uploaded avatars
Review Request #8843 — Created March 25, 2017 and submitted — Latest diff uploaded
Previously we were caching the location of uploaded avatars. However, if
a consumer switched storage backends (e.g., local host to S3), the
absolute URL would not update. Now we always compute the absolute URL of
avatars.
Tested with /r/8858/.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
djblets/avatars/services/file_upload.py |
---|