Chris Beaven
|
b60d5df072
Fixes #13252 -- Use the natural key instead of the primary key when serializing
|
14 年之前 |
Russell Keith-Magee
|
121d2e3678
Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch.
|
14 年之前 |
Russell Keith-Magee
|
eedf16d12b
Fixed #13638 -- Refactored the serializers_regress tests to avoid the use of flush, and make better use of the transactional capabilities of django.test.TestCase. Thanks to Alex Gaynor for the patch.
|
15 年之前 |
Joseph Kocherhans
|
9f4bf525f8
Fixed #12546. Objects with a __len__ that returns 0 can now be serialized. Thanks, casobn for the report and Alex Gaynor for the patch and tests.
|
15 年之前 |
Russell Keith-Magee
|
ff60c5f9de
Fixed #1142 -- Added multiple database support.
|
15 年之前 |
Karen Tracey
|
5bd63663a9
Fixed #399: Added big integer field. Thanks to Tomáš Kopeček for persistently maintaining a patch for this.
|
15 年之前 |
Russell Keith-Magee
|
e522e61a80
Fixed #11392 -- Enforced a predictable result order for a couple of test cases. Thanks to Nathan Auch for the report and patch.
|
15 年之前 |
Karen Tracey
|
dd2e1356f0
Corrected code in serializers_regress testcase so that, in the case where an exception has been raised, rollback is called before attempting to leave transaction management. With the old code the original exception (IntegrityError on InnoDB) was getting hidden by a transaction management error resulting from attempting to leave transaction management with a pending commit/rollback.
|
16 年之前 |
Jacob Kaplan-Moss
|
ddf7d7ab02
Fixed #8668: prevent MySQL from running the new test from [8676].
|
16 年之前 |
Jacob Kaplan-Moss
|
9f59fc5560
Fixed #8651: correctly deserialize objects with 0 for pk/fk.
|
16 年之前 |
Russell Keith-Magee
|
63ea57642d
Fixed #8134 -- Corrected serialization of m2m fields with intermediate models. Thanks to Rock Howard for the report, and kire for the test case.
|
16 年之前 |
Jacob Kaplan-Moss
|
7899568e01
File storage refactoring, adding far more flexibility to Django's file handling. The new files.txt document has details of the new features.
|
16 年之前 |
Malcolm Tredinnick
|
ccab4b041b
Fixed #7981 -- Wrap the manual transaction management in the
|
16 年之前 |
Russell Keith-Magee
|
12716794db
Fixed #7350, #7202 -- Fixed serialization for multi-model inheritance, which had multiple problems:
|
17 年之前 |
Malcolm Tredinnick
|
9c52d56f6f
Merged the queryset-refactor branch into trunk.
|
17 年之前 |
Adrian Holovaty
|
01adbb55e6
Major refactoring of django.core.management -- it's now a package rather than a 1730-line single module. All django-admin/manage.py commands are now stored in separate modules. This is backwards-incompatible for people who used django.core.management functions directly
|
17 年之前 |
Russell Keith-Magee
|
81d313c9b1
Fixed #3768 -- Disabled NullBooleanField PK serialization test. We can't and don't test null PK values.
|
17 年之前 |
Russell Keith-Magee
|
2d6d20def7
Fixed #4459 -- Added 'raw' argument to save method, to override any pre-save processing, and modified serializers to use a raw-save. This enables serialization of DateFields with auto_now/auto_now_add. Also modified serializers to invoke save() directly on the model baseclass, to avoid any (potentially order-dependent, data modifying) behavior in a custom save() method.
|
17 年之前 |
Malcolm Tredinnick
|
953badbea5
Merged Unicode branch into trunk (r4952:5608). This should be fully
|
18 年之前 |
Malcolm Tredinnick
|
ac64e91a0c
Merged boulder-oracle-sprint branch (r3965:5512) back into trunk. All
|
18 年之前 |
Malcolm Tredinnick
|
a33fb695e3
Fixed #4475 -- Fixed a problem that was preventing streaming tests for the
|
18 年之前 |
Russell Keith-Magee
|
ea07351799
Fixed #3466 -- Fixed problem with specifyin a 'fields' argument to a JSON serializer. Also added documenation for the 'fields' argument.
|
18 年之前 |
Russell Keith-Magee
|
c84ff156c1
Fixed a serialization problem with objects that have a foreign key on an object whose primary key is a OneToOneField.
|
18 年之前 |
Malcolm Tredinnick
|
92c35a0617
Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the code
|
18 年之前 |
Russell Keith-Magee
|
9350945963
Cleaned up the ordering of test data from [5232].
|
18 年之前 |
Russell Keith-Magee
|
c38a93e4d9
Fixed #4288 -- Modified serializers to pay attention to the to_field attribute on ForeignKeys. Thanks to Sandro Dentella for the report and the helpful test case.
|
18 年之前 |
Russell Keith-Magee
|
83bed03a59
Fixed #3741 -- Fixed serialization of GenericRelations. Thanks for the report, Alexander Solovyov.
|
18 年之前 |
Malcolm Tredinnick
|
f9c4ce5123
Fixed #2635 -- Added improved MySQL backend support from Andy Dustman. Also
|
18 年之前 |
Russell Keith-Magee
|
7ccf9978ad
Added unit tests to fully check the performance of the serializer engines.
|
18 年之前 |