﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32382	Django 3.2 app config search prevents single-file apps	Adam Johnson	nobody	"My third party package django-read-only is implemented as a single file ([pre-3.1-support source](https://github.com/adamchainz/django-read-only/blob/e95530273fd75da34fd77b1625549ffd3840beaa/src/django_read_only.py)). With Django <3.2's `default_app_config`, it could point to its app config within the same module by defining `default_app_config`.

Now the AppConfig logic *requires* an `apps` submodule, which means apps cannot be single-file modules but have to be packages.

To work around this in django-read-only I made it into package, left all the logic in its `__init__.py`, and added a ""dummy"" `apps.py` that has only the line `from django_read_only import DjangoReadOnlyAppConfig` (moving the app config would complicate its implementation).

Could we make the apps logic not search for an 'apps' submodule in the case of non-package modules, and instead check in the base module?"	Cleanup/optimization	new	Core (Other)	3.2	Normal			Aymeric Augustin	Unreviewed	0	0	0	0	0	0
