#33378: ImproperlyConfigured error is raised when installing apps in
subdirectory
-------------------------------------+-------------------------------------
Reporter: Zack West | Owner: nobody
Type: Bug | Status: closed
Component: Core (Management | Version: 4.0
commands) |
Severity: Normal | Resolution: duplicate
Keywords: Apps, Subdirectory, | Triage Stage:
Installation | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => duplicate
* component: Core (Other) => Core (Management commands)
Comment:
Thanks for the report, however it works exactly the same in Django 3.2,
3.1, etc. I don't see any change in this behavior. `AppConfig.name` must
be a full Python path to the application, as
[https://docs.djangoproject.com/en/4.0/ref/applications/#django.apps.AppConfig.name
documented], so in your case `Apps.bestapp` is required and expected. We
tried to improve generated `apps.py` files in #30618 but it was clunky.
Duplicate of #30618.
--
Ticket URL: <https://code.djangoproject.com/ticket/33378#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.ee61cc4e2b408b16c04c3a249359d55f%40djangoproject.com.