Mercurial > public > pelican-blog
diff content/Coding/030-retiring-get-profile-and-auth-profile-module.rst @ 17:fa54eda9b809
Fix typo in get_profile() post.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 30 Jul 2014 20:16:40 -0500 |
parents | 4280c90d5030 |
children | 21a29f2520ca |
line wrap: on
line diff
--- a/content/Coding/030-retiring-get-profile-and-auth-profile-module.rst Sat May 24 15:33:04 2014 -0500 +++ b/content/Coding/030-retiring-get-profile-and-auth-profile-module.rst Wed Jul 30 20:16:40 2014 -0500 @@ -113,7 +113,7 @@ There are a few other things I recommend doing at this point. First I would search your code for all occurrences of your ``Profile`` model. There were several places in my code where the extra database calls caused by -``get_profile`` were hurting my performance. I had replaced ``get_profile()`` +``get_profile()`` were hurting my performance. I had replaced ``get_profile()`` with custom code that queried the ``Profile`` manager directly to reduce database calls. I reviewed these changes and replaced them with ``select_related()`` calls. This simplified things. I love deleting lines of