Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #25550 -- Deprecated direct assignment to the ↵ | Tim Graham | 2015-10-27 | 2 | -3/+3 |
| | | | | reverse side of a related set. | ||||
* | Fixed #25468 -- Made DjangoJSONEncoder lazy string aware | Claude Paroz | 2015-09-27 | 1 | -1/+16 |
| | | | | | Thanks Stavros Korokithakis for the report and Tim Graham for the review. | ||||
* | Made tests/serializers/models.py a models package | Claude Paroz | 2015-09-26 | 4 | -203/+207 |
| | | | | Thanks Tim Graham for the patch series review. | ||||
* | Moved remaining of serializers_regress to serializers tests | Claude Paroz | 2015-09-26 | 2 | -0/+734 |
| | |||||
* | Moved more serializers_regress to serializers tests | Claude Paroz | 2015-09-26 | 2 | -2/+93 |
| | |||||
* | Separated natural key serialization tests | Claude Paroz | 2015-09-26 | 3 | -0/+107 |
| | |||||
* | Separated JSON serialization tests | Claude Paroz | 2015-09-26 | 2 | -260/+274 |
| | |||||
* | Separated XML serialization tests | Claude Paroz | 2015-09-26 | 2 | -98/+118 |
| | |||||
* | Separated YAML serialization tests | Claude Paroz | 2015-09-26 | 2 | -165/+181 |
| | |||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -1/+1 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring ↵ | Flavio Curella | 2015-07-28 | 1 | -4/+4 |
| | | | | on_delete for ForeignKey/OneToOneField | ||||
* | Fixed #22258 -- Added progress status for dumpdata when ↵ | Claude Paroz | 2015-07-24 | 1 | -0/+11 |
| | | | | | | outputting to file Thanks Gwildor Sok for the report and Tim Graham for the review. | ||||
* | Fixed #24716 -- Deprecated Field._get_val_from_obj() | Thomas Stephenson | 2015-07-14 | 1 | -1/+1 |
| | | | | | | The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method. | ||||
* | Refs #25050 -- Corrected test assertion in serializers test. | Tim Graham | 2015-07-03 | 1 | -1/+3 |
| | |||||
* | Fixed #25050 -- Allowed serialization of models with ↵ | Grégoire ROCHER | 2015-07-02 | 1 | -0/+7 |
| | | | | deferred fields. | ||||
* | Fixed #20197 -- Made XML serializer fail loudly when ↵ | Claude Paroz | 2015-06-19 | 1 | -0/+15 |
| | | | | | | outputting unserializable chars Thanks Tim Graham for the review. | ||||
* | Fix for ticket 12685 | mick | 2015-06-10 | 1 | -1/+9 |
| | |||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 1 | -3/+4 |
| | |||||
* | Fixed #19820 -- Added more helpful error messages to ↵ | Richard Eames | 2015-04-09 | 2 | -1/+190 |
| | | | | Python deserializer. | ||||
* | Fixed #24558 -- Made dumpdata mapping ordering ↵ | Simon Charette | 2015-04-02 | 1 | -0/+45 |
| | | | | | | deterministic. Thanks to gfairchild for the report and Claude for the review. | ||||
* | Update converters to take a consistent set of parameters. | Marc Tamlyn | 2015-02-20 | 1 | -1/+1 |
| | | | | | | As suggested by Anssi. This has the slightly strange side effect of passing the expression to Expression.convert_value has the expression passed back to it, but it allows more complex patterns of expressions. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -11/+15 |
| | |||||
* | Fixed #24020 -- Refactored SQL compiler to use expressions | Anssi Kääriäinen | 2015-01-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Refactored compiler SELECT, GROUP BY and ORDER BY generation. While there, also refactored select_related() implementation (get_cached_row() and get_klass_info() are now gone!). Made get_db_converters() method work on expressions instead of internal_type. This allows the backend converters to target specific expressions if need be. Added query.context, this can be used to set per-query state. Also changed the signature of database converters. They now accept context as an argument. | ||||
* | Removed numbering from the models.py header of some test ↵ | Loic Bistuer | 2014-09-24 | 1 | -1/+1 |
| | | | | | | packages. This is a reliqua from the early days of the modeltests/regressiontests era. | ||||
* | Fixed #18757, #14462, #21565 -- Reworked database-python ↵ | Marc Tamlyn | 2014-09-03 | 1 | -1/+4 |
| | | | | | | | | | | | | | | type conversions Complete rework of translating data values from database Deprecation of SubfieldBase, removal of resolve_columns and convert_values in favour of a more general converter based approach and public API Field.from_db_value(). Now works seamlessly with aggregation, .values() and raw queries. Thanks to akaariai in particular for extensive advice and inspiration, also to shaib, manfre and timograham for their reviews. | ||||
* | Fixed #22653 -- Added some database feature flags to tests. | Tim Graham | 2014-06-11 | 1 | -1/+2 |
| | | | | Thanks Rahul Priyadarshi. | ||||
* | Removed legacy transaction management per the ↵ | Aymeric Augustin | 2014-03-21 | 1 | -10/+7 |
| | | | | deprecation timeline. | ||||
* | Imported override_settings from its new location. | Aymeric Augustin | 2013-12-23 | 1 | -2/+2 |
| | |||||
* | Added missing deconstruct() methods. | Baptiste Mispelon | 2013-12-06 | 1 | -0/+5 |
| | |||||
* | Fixing E302 Errors | Jason Myers | 2013-11-03 | 1 | -4/+8 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | 2013-11-02 | 1 | -1/+0 |
| | |||||
* | Fixed all the E203 violations | Alex Gaynor | 2013-10-27 | 1 | -1/+1 |
| | |||||
* | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 1 | -2/+2 |
| | |||||
* | Removed some direct settings manipulations in tests; ↵ | Bouke Haarsma | 2013-10-21 | 1 | -11/+7 |
| | | | | refs #21230. | ||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -1/+1 |
| | |||||
* | Fixed #21285 -- Fixed E121,E122 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -3/+3 |
| | |||||
* | Fixed #19885 -- cleaned up the django.test namespace | Kevin Christopher Henry | 2013-09-09 | 1 | -1/+2 |
| | | | | | | | | * override_settings may now be imported from django.test * removed Approximate from django.test * updated documentation for things importable from django.test Thanks akaariai for the suggestion. | ||||
* | Fixed deprecation warning on Python 3 | Tim Graham | 2013-09-07 | 1 | -2/+2 |
| | |||||
* | Cleanup commit after peer review. | Roberto Aguilar | 2013-09-07 | 1 | -4/+5 |
| | |||||
* | Updated NoYamlSerializerTestCase to run with yaml. | Roberto Aguilar | 2013-09-07 | 1 | -2/+45 |
| | | | | | | In order to verify the behavior of using the yaml serializer when yaml is on the system, fake the ImportError when the serializer is being registered. | ||||
* | Added tests for missing pyyaml. | Roberto Aguilar | 2013-09-06 | 1 | -1/+21 |
| | | | | | This test makes sure an YAML import errors are communicated to the caller rather than stating the serializer does not exist. | ||||
* | Fixed "indentation is not a multiple of four" pep8 issues. | Tim Graham | 2013-09-03 | 1 | -3/+3 |
| | |||||
* | Change test added in 3e34005b1b to be more stable. | Ramiro Morales | 2013-09-01 | 1 | -17/+5 |
| | | | | | It could fail when actual serialization JSON field ordering was different from the hard-coded one. Refs #13182. | ||||
* | Properly skipped yaml tests when not installed | Claude Paroz | 2013-08-31 | 1 | -45/+50 |
| | |||||
* | Fixed #13182 -- Prevented trailing spaces in indented ↵ | Claude Paroz | 2013-08-31 | 1 | -0/+25 |
| | | | | | | json output Thanks Stéphane Raimbault for the report and the initial patch. | ||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -2/+2 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | 2013-07-01 | 1 | -1/+1 |
| | | | | Refs #20680. | ||||
* | Defined available_apps in relevant tests. | Aymeric Augustin | 2013-06-10 | 1 | -0/+3 |
| | | | | Fixed #20483. | ||||
* | Made transaction.managed a no-op and deprecated it. | Aymeric Augustin | 2013-03-11 | 1 | -1/+0 |
| | | | | | | | | | | | | | | enter_transaction_management() was nearly always followed by managed(). In three places it wasn't, but they will all be refactored eventually. The "forced" keyword argument avoids introducing behavior changes until then. This is mostly backwards-compatible, except, of course, for managed itself. There's a minor difference in _enter_transaction_management: the top self.transaction_state now contains the new 'managed' state rather than the previous one. Django doesn't access self.transaction_state in _enter_transaction_management. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 3 | -0/+627 |