Mercurial > public > sg101
view user_photos/static/css/user_photos.css @ 791:0ca691cccf8d
Utilize select_related() for user & user profiles.
This commit also removes the caching of the avatar URL in the
avatar template tag. This is because we are now using select_related,
so we already have the profile & avatar when we get to the tag.
Thus we don't need to waste time querying the cache.
Removed an apparently unused member map template as well.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 23 May 2014 21:52:41 -0500 |
parents | 846cf9a06a04 |
children |
line wrap: on
line source
.user_photo { margin: 1em; display: inline-block; } .owner_photo { border: 1px solid gray; } .owner_photo img { margin: auto; width: 100%; } hr.footer_divider { margin-top: 1.5em; }