django/django
Jacob Kaplan-Moss 1452d46240 Fixed #6886: Tightened up ForeignKey and OneToOne field assignment. Specifically:
* Raise a ValueError if you try to assign the wrong type of object.
  * Raise a ValueError if you try to assign None to a field not specified with null=True.
  * Cache the set value at set time instead of just at lookup time.

This is a slightly backwards-incompatible change; see BackwardsIncompatibleChanges for more details.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-05 00:39:32 +00:00
..
bin Fixed #7030 -- Handle extraction of UTF-8 messages from Javascript files. 2008-04-26 13:25:30 +00:00
conf Italian translation: fixes #7348, other small fixes. Thanks to BazzaniMarco. 2008-06-02 16:53:43 +00:00
contrib Simplified control flow for change made in r7535 2008-05-16 22:53:39 +00:00
core Fixed #6820: flush no longer fails under PostgreSQL 8.3. WARNING: In the process I renamed a couple of internal functions in django.core.management.sql, so this is a backwards-incompatible change if you were using those internal functions. 2008-05-31 01:01:17 +00:00
db Fixed #6886: Tightened up ForeignKey and OneToOne field assignment. Specifically: 2008-06-05 00:39:32 +00:00
dispatch
forms
http Fixed #6616 -- Added an is_ajax() method to HttpRequest that uses the de facto 2008-03-20 07:16:16 +00:00
middleware
newforms Fixed #5917 -- More error robustness in date parsing in SelectDateWidget, plus 2008-03-20 07:44:46 +00:00
oldforms
shortcuts
template Fixed #6430 -- Corrected the loading of templates from eggs, which was broken by the unicode merge. Thanks for the excellent report and patch, Juan Manuel Caicedo <juan.manuel.caicedo@gmail.com>. 2008-05-29 13:11:23 +00:00
templatetags Fixed #4539 -- Fixed a subtle context resolving bug in the i18n template tag. 2008-03-17 14:55:30 +00:00
test Fixed #5982 -- Changed test client's URL processing to match core's (everything 2008-03-20 06:50:54 +00:00
utils Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
views Fixed #6864 -- Handle Javascript i18n when the plural form expression returns 2008-03-24 13:27:19 +00:00
__init__.py