File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -446,6 +446,13 @@ Miscellaneous
446
446
:class:`~django.db.models.Variance` aggregate functions now return a
447
447
``Decimal`` instead of a ``float`` when the input is ``Decimal``.
448
448
449
+ * Tests will fail on SQLite if apps without migrations have relations to apps
450
+ with migrations. This has been a documented restriction since migrations were
451
+ added in Django 1.7, but it fails more reliably now. You'll see tests failing
452
+ with errors like ``no such table: <app_label>_<model>``. This was observed
453
+ with several third-party apps that had tests models without migrations. You
454
+ must add migrations for such models.
455
+
449
456
.. _deprecated-features-2.2:
450
457
451
458
Features deprecated in 2.2
Original file line number Diff line number Diff line change @@ -191,6 +191,10 @@ restrict to a single app. Restricting to a single app (either in
191
191
a guarantee; any other apps that need to be used to get dependencies correct
192
192
will be.
193
193
194
+ Apps without migrations must not have relations (``ForeignKey``,
195
+ ``ManyToManyField``, etc.) to apps with migrations. Sometimes it may work, but
196
+ it's not supported.
197
+
194
198
.. _migration-files:
195
199
196
200
Migration files
You can’t perform that action at this time.
0 commit comments