Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/field_deconstruction
Commit message (Collapse)AuthorAgeFilesLines
* Refs #24590 -- Ensured isolation between autodetector testsMarkus Holtermann2015-08-281-8/+10
| | | | Fixed a regression introduced in e1427cc609fa6ab247501b101cfb3c0092aba55b when running tests in reverse order.
* Fixed #24590 -- Cached calls to swappable_setting.Markus Holtermann2015-08-271-16/+20
| | | | | | | | | | Moved the lookup in Field.swappable_setting to Apps, and added an lru_cache to cache the results. Refs #24743 Thanks Marten Kenbeek for the initial work on the patch. Thanks Aymeric Augustin and Tim Graham for the review.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-14/+14
| | | | on_delete for ForeignKey/OneToOneField
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
|
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-2/+2
| | | | | | | | Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True.
* Refs #24483 -- Added a test for deconstruction of ↵Tim Graham2015-03-181-0/+7
| | | | Field.choices
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-5/+1
|
* Revert "Fixed #23455 -- Forced related_name to be a ↵Carl Meyer2014-12-121-12/+0
| | | | | | unicode string during deconstruction." This reverts commit 45bd7b3bd9008941580c100b9fc7361e3ff3ff0d.
* Fixed #23455 -- Forced related_name to be a unicode ↵Markus Holtermann2014-09-251-0/+14
| | | | string during deconstruction.
* Fixed #23288: deconstruct() ignoring related_nameAndrew Godwin2014-08-151-0/+12
|
* Added missing logic to TimeField.deconstruct().Baptiste Mispelon2014-08-031-0/+17
| | | | | | If auto_now or auto_now_add was used then the serialized field in the migration contained unnecessary `editable` and `blank` arguments.
* Fixed #23156 -- Added missing BinaryField.deconstruct() ↵Baptiste Mispelon2014-08-031-0/+7
| | | | method.
* Fixed #23101 db_table wasn't copied in deconstructAbraham Martin2014-07-261-0/+6
| | | | | Forward port of 999758fc7a2d6fcb01eb40de937d4420f884788d from stable/1.7.x
* Fixed #20631 -- Increased the default EmailField ↵Tim Graham2014-07-041-1/+1
| | | | | | max_length to 254. Thanks pmartin for the report.
* Fixed #22889: Unneeded to_field in fk.deconstruct ↵Andrew Godwin2014-06-241-0/+9
| | | | causing swap issues
* Appeased flake8.Aymeric Augustin2014-05-081-1/+0
|
* Fixed #22337: FileSystemStorage marked as ↵Andrew Godwin2014-05-071-0/+2
| | | | deconstructible and tested.
* Fixed #22564 -- Prevented unneeded bytestrings in migrationsClaude Paroz2014-05-061-3/+6
| | | | | | In some cases, this could lead to migrations written with Python 2 being incompatible with Python 3. Thanks Tim Graham for the report and Loïc Bistuer for the advices.
* Fix many many typos in comments throughout the codebaseAlex Gaynor2014-04-261-1/+1
|
* Fixed #22272 -- Fixed regression in DecimalField when ↵Baptiste Mispelon2014-03-141-0/+10
| | | | | | using decimal_places=0. Thanks to trac user merb for the report.
* 4 flake8 warning fixesAlex Gaynor2014-03-091-1/+0
|
* Fixed #22183: Through M2Ms now correctly handledAndrew Godwin2014-03-091-0/+6
|
* Fixed #22199: Bad max_length deconstruction for FileFieldAndrew Godwin2014-03-081-4/+15
|
* Implement swappable model support for migrationsAndrew Godwin2014-01-191-1/+43
|
* Fixed #21785: Bad handling of both auto_now and _add on ↵Andrew Godwin2014-01-171-0/+6
| | | | deconstruct
* Removed superfluous models.py files.Aymeric Augustin2013-12-171-0/+0
| | | | | | | Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module.
* Removed unused local variables in tests.Tim Graham2013-10-191-1/+1
|
* Fixed #20439 -- Started deprecation of IPAddressFieldErik Romijn2013-09-281-1/+4
|
* Ported over Field.deconstruct() from my schema ↵Andrew Godwin2013-06-283-0/+253
alteration branch. This is to help other ongoing branches which would benefit from this functionality.