#30559: Django 2.2 | Auto-reload doesn't detect changes in new apps -----------------------------------------+------------------------ Reporter: ronzilca | Owner: nobody Type: Uncategorized | Status: new Component: Uncategorized | Version: 2.2 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -----------------------------------------+------------------------ Just created a new project with Django CLI. My project split into multiple apps so the structure is like this:
{{{ project app1/ .. migrations/ views/ __init__.py apps.py urls.py core/ .. migrations/ views/ __init__.py apps.py urls.py project/ settings/ __init__.py common.py development.py __init__.py urls.py wsgi.py }}} I'm using Docker to build the environment and make sure that both apps registered in the INSTALLED_APPS property. The problem is that the Django doesn't listen to app1 app, but only to core app. Also, if I add another folder under the core app, it's doesn't listen to this folder as well. I've changed the BASE_DIR property to support the new structure: {{{ BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) }}} Any suggestions? -- Ticket URL: <https://code.djangoproject.com/ticket/30559> 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/051.e53c9438f63b4ca203ea2fb54ef596df%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.