django1/django/db/models
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
..
fields 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
sql Improvements to [8608] to fix an infinite loop (for exclude(generic_relation)). 2008-08-28 05:00:23 +00:00
__init__.py Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
base.py Removed a couple of unused imports. 2008-08-28 19:28:31 +00:00
loading.py Added tests for corner case with deleting where objects are deleted in the wrong order. 2008-06-21 20:55:17 +00:00
manager.py Major refactoring of django.dispatch with an eye towards speed. The net result is that signals are up to 90% faster. 2008-08-06 15:32:46 +00:00
options.py [8721] introduced some internal field names. We hide them from the list of 2008-08-30 04:52:56 +00:00
query.py Fixed a typo from the refactoring in [8455]. With bonus test, too. Thanks, vung. 2008-08-29 22:29:38 +00:00
query_utils.py Factored out a semi-complex if-test that was used in two places. 2008-06-29 09:40:17 +00:00
related.py Removed oldforms, validators, and related code: 2008-08-27 07:19:44 +00:00
signals.py Major refactoring of django.dispatch with an eye towards speed. The net result is that signals are up to 90% faster. 2008-08-06 15:32:46 +00:00