django1/django
Malcolm Tredinnick 2f0be0faae Fixed #8660 -- Small database query optimisation in User.get_profile.
When calling User.get_profile(), we now tell the profile object about the
related User object right away. This can save a database lookup later if
something in the user profile object wants to refer to the user object.

Patch from Mike Malone.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 12:07:10 +00:00
..
bin Fixed #5522 -- Moved make-messages, compile-messages and daily-cleanup into django-admin.py. 2008-07-06 06:39:44 +00:00
conf Italian translation: one correction; thanks, Marco Beri. 2008-09-28 10:34:51 +00:00
contrib Fixed #8660 -- Small database query optimisation in User.get_profile. 2008-10-05 12:07:10 +00:00
core Fixed #9283 -- Deliberately silence one deprecation warning raised by python 2.6. 2008-10-05 11:39:58 +00:00
db Fixed #9068 -- Fixed a couple of typos in InsertQuery.clone(). Thanks, rush. 2008-10-05 11:55:52 +00:00
dispatch Fixed #8285: signal handlers that aren't functions work under DEBUG. This slightly loosens the sanity check, but things that are valid under production shouldn't fail under debug. 2008-08-25 18:24:05 +00:00
forms Fixed #9294 -- Removed a (harmless) double conversion to unicode in one form 2008-10-05 08:51:14 +00:00
http Fixed #8278: fixed `QueryDict.update(QueryDict)`. Thanks, julien. 2008-08-29 16:49:19 +00:00
middleware Fixed #9221 -- Small optimisation to caching middleware handling. 2008-09-30 03:58:09 +00:00
shortcuts Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exception, rather than an assertion error. Thanks, Gary Wilson and cheeming. 2007-12-02 18:21:07 +00:00
template Fixed #7027: template tags now corectly break tokens around strings marked for translation. 2008-08-31 18:28:06 +00:00
templatetags Fixed #7460 -- Made the "cache" template tag always generate keys that can be 2008-08-25 04:52:55 +00:00
test Fixed #9117: Made the test client a new-style class. Thanks to Jan Oberst for the report. 2008-09-17 11:32:11 +00:00
utils Changed the reverse() call for creating URLs to convert a "." in the reg-exp 2008-09-03 17:53:45 +00:00
views Moved the bulk of the shortcut() function in django/views/defaults.py to a new module, django/contrib/contenttypes/views.py. As a result, django/views/defaults.py no longer relies on django.contrib.contenttypes. Of course, the shortcut() function is still available in the former module, for backwards compatibility. See the new FutureBackwardsIncompatibleChanges wiki page. 2008-09-10 05:56:34 +00:00
__init__.py Update django.VERSION in trunk per previous discussion 2008-09-30 17:50:44 +00:00