django1/django
Gary Wilson Jr 2db4b13480 Fixed #8070 -- Cache related objects passed to Model init as keyword arguments. Also:
* Model init no longer performs a database query to refetch the related objects it is passed.
 * Model init now caches unsaved related objects correctly, too. (Previously, accessing the field would raise `DoesNotExist` error for `null=False` fields.)
 * Added tests for assigning `None` to `null=True` `ForeignKey` fields (refs #6886).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-01 23:16:59 +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 Updated German locale 2008-08-01 12:31:12 +00:00
contrib Reverted [8174]. It is causing some serious breakage right now. Need to investigate more. 2008-08-01 22:46:15 +00:00
core Fixed #8053 -- Corrected a bug with reset and m2m intermediate tables. Thanks to d00gs for the report and fix. 2008-07-31 07:53:55 +00:00
db Fixed #8070 -- Cache related objects passed to Model init as keyword arguments. Also: 2008-08-01 23:16:59 +00:00
dispatch Fixed #7847 -- Removed a whole bunch of unused imports from throughout the codebase. Thanks, julien 2008-07-22 03:24:09 +00:00
forms Ensure that custom primary keys are always shown on a formset. Refs #7938. Thanks magneto for discovering this problem. 2008-08-01 20:35:40 +00:00
http Fixed #7848 -- Removed a bunch of code that wasn't contributing to society. Thanks, julien 2008-07-22 03:26:25 +00:00
middleware Fixed #7046 -- set the response status code correctly in ConditionalGetMiddleware. 2008-06-30 07:03:58 +00:00
newforms Fixed #7741: django.newforms is now django.forms. This is obviously a backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors. 2008-07-19 01:22:26 +00:00
oldforms Fixed #7614: the quickening has come, and there now is only one UploadedFile. On top of that, UploadedFile's interface has been improved: 2008-07-07 23:16:00 +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 #3912 - Added simple type checking to template.Context.update() to help debugging broken context processors. Thanks Jeremy Dunck 2008-08-01 21:37:38 +00:00
templatetags Fixed #6201 -- Improved the {% cache %} template tag to allow the timeout to be a template variable. Inspired by the patch by zz and edrik 2008-06-26 04:54:10 +00:00
test Changed/fixed the way Django handles SCRIPT_NAME and PATH_INFO (or 2008-07-21 07:57:10 +00:00
utils Fixed #7723 - implemented a secure password reset form that uses a token and prompts user for new password. 2008-07-31 20:47:53 +00:00
views Corrected spacing in warning message. 2008-07-27 17:25:37 +00:00
__init__.py Bumped version number for 1.0-alpha release. 2008-07-22 01:15:43 +00:00