Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Used SchemaEditor.delete_model() for teardown in schema ↵ | Tim Graham | 2015-10-16 | 1 | -33/+27 |
| | | | | | | | | | tests. Some third-party database backends (MSSQL) have custom delete_model() requirements that must be executed. Thanks Michael Manfre for the initial patch and review. | ||||
* | Refs #18081 -- Asserted db constraints are created for ↵ | Simon Charette | 2015-09-23 | 1 | -0/+30 |
| | | | | fk to proxy models. | ||||
* | Fix import sorting problem. | Aymeric Augustin | 2015-09-21 | 1 | -3/+2 |
| | |||||
* | Renamed descriptor classes for related objects. | Aymeric Augustin | 2015-09-21 | 1 | -2/+2 |
| | | | | | | | | | | | | The old names were downright confusing. Some seemed to mean the opposite of what the class actually did. The new names follow a consistent nomenclature: (Forward|Reverse)(ManyToOne|OneToOne|ManyToMany)Descriptor. I mentioned combinations that do not exist in the docstring in order to help people who would search for them in the code base. | ||||
* | Fixed #25393 -- Fixed MySQL crash when adding text/blob ↵ | Ville Skyttä | 2015-09-14 | 1 | -0/+12 |
| | | | | field with unhashable default. | ||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -3/+11 |
| | |||||
* | Used skipUnlessDBFeature where appropriate. | Simon Charette | 2015-08-08 | 1 | -15/+17 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring ↵ | Flavio Curella | 2015-07-28 | 2 | -23/+27 |
| | | | | on_delete for ForeignKey/OneToOneField | ||||
* | Fixed #25128 -- Fixed SQLite SchemaEditor crash when ↵ | Tim Graham | 2015-07-15 | 2 | -5/+22 |
| | | | | adding a ForeignObject field. | ||||
* | Refs #25002 -- Supported textual to temporal column ↵ | Simon Charette | 2015-06-25 | 1 | -3/+38 |
| | | | | | | alteration on Oracle. Thanks to Tim Graham for the report and Shai Berger for the review. | ||||
* | Fixed #25002 -- Used PostgreSQL column type alteration ↵ | Simon Charette | 2015-06-22 | 1 | -0/+14 |
| | | | | | | USING clause. Thanks to Dirk Uys for the report. | ||||
* | Fixed #24972 -- Fixed removing unique_together indexes ↵ | Adam Brenecki | 2015-06-15 | 2 | -2/+34 |
| | | | | on MySQL. | ||||
* | Applied db_table conversion to fix schema tests on Oracle. | Tim Graham | 2015-06-03 | 1 | -2/+3 |
| | |||||
* | Fixed #24893 -- Fixed lack of unique constraint when ↵ | Tim Graham | 2015-06-02 | 2 | -0/+40 |
| | | | | changing a field from primary_key=True to unique=True | ||||
* | Fixed #24892 -- Fixed quoting of SQL when renaming a ↵ | Tim Graham | 2015-06-02 | 2 | -6/+30 |
| | | | | field to AutoField in PostgreSQL | ||||
* | Fixed #24846 -- Added support to MySQL SchemaEditor for ↵ | Adam Chainz | 2015-05-31 | 2 | -1/+29 |
| | | | | all blob/text data types | ||||
* | Fixed #24817 -- Prevented loss of null info in MySQL ↵ | Andriy Sokolovskiy | 2015-05-28 | 2 | -2/+30 |
| | | | | field renaming. | ||||
* | Fixed #24812 -- Fixed app registry RuntimeWarnings in ↵ | Tim Graham | 2015-05-18 | 1 | -3/+10 |
| | | | | schema and migrations tests. | ||||
* | Fixed #24757 -- Recreated MySQL index when needed during ↵ | Claude Paroz | 2015-05-15 | 1 | -0/+36 |
| | | | | | | | combined index removal Thanks Thomas Recouvreux for the report and Tim Graham for the tests and review. | ||||
* | Fixed #24658 -- Added missing Meta attribute in schema tests | Claude Paroz | 2015-04-19 | 1 | -0/+3 |
| | | | | | Without that, the Note model would be initially created and then the tests using that model failed when run in isolation. | ||||
* | Fixed #24595 Oracle test failure | Shai Berger | 2015-04-18 | 1 | -4/+21 |
| | | | | | The only problem for Oracle was the test, which tested nullity on text/char fields -- but Oracle interprets_empty_strings_as_null. | ||||
* | Fixed #24595 -- Prevented loss of null info in MySQL ↵ | Claude Paroz | 2015-04-17 | 1 | -0/+16 |
| | | | | | | | field alteration Thanks Simon Percivall for the report, and Simon Charette and Tim Graham for the reviews. | ||||
* | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | 2015-03-25 | 2 | -14/+15 |
| | | | | | | | | 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. | ||||
* | Fixed #24447 -- Made migrations add FK constraints for ↵ | Jean-Louis Fuchs | 2015-03-07 | 1 | -0/+39 |
| | | | | | | | existing columns When altering from e.g. an IntegerField to a ForeignKey, Django didn't add a constraint. | ||||
* | Fixed #24307: Avoided redundant column nullability ↵ | Shai Berger | 2015-02-19 | 1 | -1/+32 |
| | | | | | | modifications on Oracle Thanks Joris Benschop for the report, and Tim Graham for the tests. | ||||
* | Merged ManyRelatedObjectsDescriptor and ↵ | Loic Bistuer | 2015-02-16 | 1 | -3/+3 |
| | | | | | | | ReverseManyRelatedObjectsDescriptor and made all "many" related objects descriptors inherit from ForeignRelatedObjectsDescriptor. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 2 | -8/+13 |
| | |||||
* | Fixed small regression caused by ↵ | Markus Holtermann | 2015-02-06 | 1 | -0/+8 |
| | | | | | | | | 0204714b0bdf10d7558ee106de9a718407f3ec5a Since 1.7 models need to declare an explicit app_label if they are not in an application in INSTALLED_APPS or were imported before their application was loaded. | ||||
* | Cleaned up schema tests | Markus Holtermann | 2015-02-05 | 3 | -431/+315 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #24245 -- Added introspection for database defaults. | Tim Graham | 2015-01-31 | 1 | -0/+50 |
| | | | | Needed for tests for migrations handling of database defaults. | ||||
* | Fixed #24104 -- Fixed check to look on ↵ | Andriy Sokolovskiy | 2015-01-22 | 2 | -0/+99 |
| | | | | field.many_to_many instead of class instance | ||||
* | Refs #24163 -- Fixed failing Oracle test when migrating ↵ | Markus Holtermann | 2015-01-20 | 1 | -24/+26 |
| | | | | | | from ForeignKey to OneToOneField Thanks Tim Graham for review | ||||
* | Fixed #24163 -- Removed unique constraint after index on ↵ | Markus Holtermann | 2015-01-19 | 2 | -3/+113 |
| | | | | | | MySQL Thanks Łukasz Harasimowicz for the report. | ||||
* | Fixed #12663 -- Formalized the Model._meta API for ↵ | Daniel Pyrathon | 2015-01-07 | 1 | -26/+26 |
| | | | | | | | retrieving fields. Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch! | ||||
* | Fixed #23581 -- Prevented extraneous DROP DEFAULT ↵ | Tim Graham | 2014-12-30 | 1 | -0/+4 |
| | | | | | | statements. Thanks john_scott for the report and Markus Holtermann for review. | ||||
* | Fixed refs #23987 test on Oracle. | Tim Graham | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | Fixed #23987 -- Made SQLite SchemaEditor always use ↵ | Andriy Sokolovskiy | 2014-12-15 | 1 | -0/+24 |
| | | | | effective_default(). | ||||
* | Fixed #23968 -- Replaced list comprehension with ↵ | Jon Dufresne | 2014-12-08 | 1 | -3/+3 |
| | | | | generators and dict comprehension | ||||
* | Fixed #23920 -- Fixed MySQL crash when adding blank=True ↵ | Tim Graham | 2014-12-04 | 2 | -1/+18 |
| | | | | | | to TextField. Thanks wkornewald for the report and Markus Holtermann for review. | ||||
* | Fixed typos using https://github.com/vlajos/misspell_fixer | Veres Lajos | 2014-11-04 | 1 | -1/+1 |
| | |||||
* | Fixed #23738 -- Allowed migrating from NULL to NOT NULL ↵ | Markus Holtermann | 2014-10-31 | 2 | -1/+34 |
| | | | | | | with the same default value Thanks to Andrey Antukh for the report. | ||||
* | Fixed #23702 -- Fixed adding an explicit id field on SQLite. | Tim Graham | 2014-10-23 | 1 | -0/+19 |
| | | | | Thanks gavinwahl for the report. | ||||
* | Fixed #23609 -- Fixed IntegrityError that prevented ↵ | Markus Holtermann | 2014-10-09 | 1 | -1/+34 |
| | | | | | | altering a NULL column into a NOT NULL one due to existing rows Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review. | ||||
* | Fixed #22738 -- made finer distinctions for when Boolean ↵ | Shai Berger | 2014-09-27 | 1 | -1/+1 |
| | | | | | | is not detected on Oracle Thanks Claude Paroz for partial fix and Simon Charrette for review | ||||
* | Fixed #22738 -- Abstracted boolean field type introspection | Claude Paroz | 2014-09-26 | 1 | -9/+2 |
| | | | | | Thanks maxi for the report, Shai Berger for his help with the patch and Tim Graham for the review. | ||||
* | Fixed #23065 -- Quoted constraint names in SQL generated ↵ | Sergey Fedoseev | 2014-09-23 | 1 | -0/+50 |
| | | | | by migrations. | ||||
* | Removed unnecessary absolute_imports. | Tim Graham | 2014-08-25 | 1 | -1/+0 |
| | |||||
* | Fixed schema test for Oracle 11.2.0.1 which is used in ↵ | Shai Berger | 2014-08-22 | 1 | -0/+3 |
| | | | | | | | | | | | Django Project's CI. Refs #23073 Workaround. Refs #22738 Repeats the mysql "offense". When the issue is solved, the Oracle special case should be made to play with the solution (that is, Oracle should be fixed the same way that mysql and the 3rd-party backneds are). | ||||
* | Fixed #23264: Schema backends honour db_constraint | Andrew Godwin | 2014-08-09 | 2 | -2/+100 |
| | |||||
* | Fixed #23091: CreateModel and AddField were clashing ↵ | Andrew Godwin | 2014-08-04 | 1 | -0/+42 |
| | | | | with deferred SQL |