Skip to content

Commit

Permalink
fix: Remove deprecated test config starting from Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wookkl authored and last-partizan committed May 16, 2024
1 parent 118d13d commit b016af5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modeltranslation/tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ def _get_database_config():
conf = {
"ENGINE": "django.db.backends.sqlite3",
"NAME": ":memory:",
"TEST": {
"SERIALIZE": False,
},
}
if db == "mysql":
conf.update(
Expand Down Expand Up @@ -60,3 +57,7 @@ def _get_database_config():
ROOT_URLCONF = "modeltranslation.tests.urls"

DEFAULT_AUTO_FIELD = "django.db.models.AutoField"

TEST_NON_SERIALIZED_APPS = (
"django.contrib.auth",
)

0 comments on commit b016af5

Please sign in to comment.