Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/field_subclassing
Commit message (Collapse)AuthorAgeFilesLines
* Removed SubfieldBase per deprecation timeline.Tim Graham2015-09-243-241/+2
|
* Refs #24919 -- Made test models serializable for migrations.Tim Graham2015-07-211-0/+2
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-3/+3
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-063-7/+4
|
* Fixed #901 -- Added Model.refresh_from_db() methodAnssi Kääriäinen2014-11-281-0/+6
| | | | | Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham for reviews.
* Corrected deprecation warning silencing of SubfieldBase.Tim Graham2014-09-052-12/+10
|
* Fixed #18757, #14462, #21565 -- Reworked database-python ↵Marc Tamlyn2014-09-031-0/+11
| | | | | | | | | | | | | | 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 #22537 -- Add tests and improved docs for field ↵Mike Fogel2014-04-303-3/+28
| | | | subclass with choices.
* Fixed #22001 -- Ensure db_type is respected.Marc Tamlyn2014-03-142-1/+14
| | | | | | | | | | db_parameters should respect an already existing db_type method and return that as its type string. In particular, this was causing some fields from gis to not be generated. Thanks to @bigsassy and @blueyed for their work on the patch. Also fixed #22260
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-032-3/+3
| | | | Thanks Piotr Kasprzyk for help with the patch.
* PEP8 cleanupJason Myers2013-11-032-0/+4
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #12568 -- no error when accessing custom field's ↵Anssi Kääriäinen2013-09-181-1/+15
| | | | | | | | | descriptor The SubfieldBase's descriptor caused an AttributeError when accessed from the class. Introspection didn't like that. Patch by Trac alias supervacuo.
* Removed most of absolute_import importsClaude Paroz2013-07-292-3/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-5/+5
| | | | Gives much nicer errors when it fails.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-264-0/+192