Mercurial > public > sg101
view bio/static/css/bio.css @ 1037:7e0c3cbd3cda
Fix bad select_related call.
In Django 1.8, select_related now throws an error if you give it an invalid
field. This was happening. Fix that query.
Also noticed an extra query generated in the display_post template. Fixed.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 29 Dec 2015 22:21:42 -0600 |
parents | 678a1a2ef55a |
children |
line wrap: on
line source
div.user_profile th { font-weight: bold; text-align: left; padding: 5px 5px; } div.user_profile td { font-weight: normal; text-align: left; padding: 5px 5px; } div.members-list table { border-collapse: collapse; width: 95%; border: 1px solid black; margin: 1em auto 1em auto; } div.members-list th { font-weight: bold; text-align: center; padding: 5px 5px; } div.members-list tr { border-top: 1px solid black; border-bottom: 1px solid black; text-align: center; } div.members-list td { padding: 5px 5px; text-align: center; } div.members-list tr.odd { background-color: #ddd; } div.flag { float:left; text-size: small; font-weight: bold; } div.flag img { vertical-align: middle; margin-bottom: 3px; }