Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/schema/models.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-5/+8
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #25128 -- Fixed SQLite SchemaEditor crash when ↵Tim Graham2015-07-151-0/+8
| | | | adding a ForeignObject field.
* Fixed #24972 -- Fixed removing unique_together indexes ↵Adam Brenecki2015-06-151-0/+9
| | | | on MySQL.
* Fixed #24893 -- Fixed lack of unique constraint when ↵Tim Graham2015-06-021-0/+1
| | | | changing a field from primary_key=True to unique=True
* Fixed #24892 -- Fixed quoting of SQL when renaming a ↵Tim Graham2015-06-021-0/+8
| | | | field to AutoField in PostgreSQL
* Fixed #24817 -- Prevented loss of null info in MySQL ↵Andriy Sokolovskiy2015-05-281-0/+8
| | | | field renaming.
* Fixed #24658 -- Added missing Meta attribute in schema testsClaude Paroz2015-04-191-0/+3
| | | | | Without that, the Note model would be initially created and then the tests using that model failed when run in isolation.
* Cleaned up schema testsMarkus Holtermann2015-02-051-69/+21
| | | | Thanks Tim Graham for the review.
* Fixed #24163 -- Removed unique constraint after index on ↵Markus Holtermann2015-01-191-0/+10
| | | | | | MySQL Thanks Łukasz Harasimowicz for the report.
* Fixed #23920 -- Fixed MySQL crash when adding blank=True ↵Tim Graham2014-12-041-0/+4
| | | | | | to TextField. Thanks wkornewald for the report and Markus Holtermann for review.
* Fixed #23738 -- Allowed migrating from NULL to NOT NULL ↵Markus Holtermann2014-10-311-0/+8
| | | | | | with the same default value Thanks to Andrey Antukh for the report.
* Fixed #23264: Schema backends honour db_constraintAndrew Godwin2014-08-091-0/+9
|
* Fixed #23009: Shorten FK identifiers in add_field and ↵Andrew Godwin2014-07-211-1/+9
| | | | make consistent
* Fixed #22476: Couldn't alter attributes on M2Ms with ↵Andrew Godwin2014-05-081-0/+16
| | | | through= set
* Fixed #22183: Through M2Ms now correctly handledAndrew Godwin2014-03-091-0/+15
|
* Amend test table name so it doesn't clash.Ramiro Morales2013-12-281-1/+1
| | | | Refs #21692 and 3efd1b8b939.
* Fixed #21692 -- Quote table name when creating it.Ramiro Morales2013-12-271-0/+13
|
* Renamed AppCache to Apps.Aymeric Augustin2013-12-241-14/+14
| | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
* Moved apps back in the toplevel django namespace.Aymeric Augustin2013-12-221-1/+1
| | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
* Deborgified the app cache.Aymeric Augustin2013-12-171-2/+2
| | | | | | | | | | | | | Improved Andrew's hack to create temporary app caches to handle migrations. Now the main app cache has a "master" flag set to True (which is a non-default keyword argument, thus unlikely to be used by mistake). Other app cache instances have "master" set to False. The only sanctioned way to access the app cache is by importing django.core.apps.app_cache. If you were instanciating an app cache and relying on the Borg pattern, you'll have to refactor your code.
* Moved the new app cache inside core.Aymeric Augustin2013-12-171-1/+1
|
* Moved django.db.models.loading to django.apps.cache.Aymeric Augustin2013-12-171-1/+1
| | | | This commit doesn't contain any code changes; it's purely a refactoring.
* Fixed #21497 -- Forced conversion to bytes for very long ↵Joel Bohman2013-11-241-0/+7
| | | | index names
* Updated syncdb -> migrate in tests.Tim Graham2013-09-031-1/+1
|
* Add more stringent M2M tests and fix the bug they exposedAndrew Godwin2013-08-191-1/+9
|
* Support index_together during model creationAndrew Godwin2013-08-111-0/+9
|
* Split out a BaseAppCache, make AppCache borg again, add ↵Andrew Godwin2013-05-091-11/+14
| | | | _meta.app_cache
* Merge branch 'master' into schema-alterationAndrew Godwin2013-04-181-0/+77
Conflicts: django/db/backends/__init__.py django/db/backends/mysql/base.py django/db/backends/oracle/base.py django/db/backends/oracle/creation.py django/db/backends/postgresql_psycopg2/base.py django/db/backends/sqlite3/base.py django/db/models/fields/related.py