#27362: Omitting default_app_config in __init__.py happens to easily. --------------------------------+-------------------- Reporter: Thomas Güttler | Owner: nobody Type: Uncategorized | Status: new Component: Uncategorized | Version: 1.10 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------+-------------------- Up to now it is likely that the programmer forgets to add "default_app_config = 'myapp.apps.AppConfig" in `__init__.py`.
It took too much time to debug why the signal handled of a reusable app was not called on one system (INSTALLED_APPS=[... 'myapp']) and called on another system (INSTALLED_APPS=[..., 'myapp.apps.AppConfig']). I have no clue how to solve this at the moment. But I hope you can understand that "pain". What can be done to assist the programmer? Related docs: https://docs.djangoproject.com/en/1.10/ref/applications /#configuring-applications -- Ticket URL: <https://code.djangoproject.com/ticket/27362> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/050.b1a7b55df8b28a4e593e4abe621a5f81%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.