diff options
| author | Iuri de Silvio <iurisilvio@gmail.com> | 2020-08-10 15:16:45 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-10 20:16:45 +0200 |
| commit | ebd78a9f97d8ba850d279a844d89a1d805370738 (patch) | |
| tree | 4098ba912720e049b27db7ae6583d3407e32c4c7 /tests/apps/explicit_default_config_without_apps | |
| parent | ad827ddaef05069a1385cc2d26fd2ab9c6ba1f4d (diff) | |
Fixed #31870 -- Fixed crash when populating app registry with empty or without apps module.
Regression in 3f2821af6bc48fa8e7970c1ce27bc54c3172545e.
Diffstat (limited to 'tests/apps/explicit_default_config_without_apps')
| -rw-r--r-- | tests/apps/explicit_default_config_without_apps/__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/apps/explicit_default_config_without_apps/__init__.py b/tests/apps/explicit_default_config_without_apps/__init__.py new file mode 100644 index 0000000000..c42323376f --- /dev/null +++ b/tests/apps/explicit_default_config_without_apps/__init__.py @@ -0,0 +1,7 @@ +from django.apps import AppConfig + +default_app_config = 'apps.explicit_default_config_without_apps.ExplicitDefaultConfigWithoutApps' + + +class ExplicitDefaultConfigWithoutApps(AppConfig): + name = 'apps.explicit_default_config_without_apps' |
