django1/django/db
Brian Rosner 27f9b96fa0 Fixed handling of primary keys in model formsets. Model formsets should now work nicely with custom primary keys that are OneToOneField, ForeignKey and AutoField. Added tests to handle each of them.
Fixes #8241, #8694, #8695 and #8719.

Thanks Karen Tracey, jonloyens, sciyoshi, semenov and magneto for tracking down various parts of this patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 09:49:55 +00:00
..
backends Fixed #8575 -- Catch one particular instance of OperationalError in MySQL and 2008-08-29 04:30:07 +00:00
models Fixed handling of primary keys in model formsets. Model formsets should now work nicely with custom primary keys that are OneToOneField, ForeignKey and AutoField. Added tests to handle each of them. 2008-08-31 09:49:55 +00:00
__init__.py Fixed #8238 -- If an invalid database backend is mentioned in settings and the 2008-08-17 17:32:31 +00:00
transaction.py Fixed #7241 -- More robust exception catching in the transaction management 2008-08-17 00:07:06 +00:00