{{{
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.
* status: new => closed
* resolution: => needsinfo
* type: Uncategorized => Bug
* component: Uncategorized => Utilities
Comment:
Thanks for the report, however I cannot reproduce this issue on Django 2.2
or on master even with a similar structure:
{{{
├── manage.py
├── test_one
│ ├── admin.py
│ ├── apps.py
│ ├── __init__.py
│ ├── migrations
│ │ └── __init__.py
│ ├── models.py
│ ├── tests.py
│ └── views.py
├── test_two
│ ├── admin.py
│ ├── apps.py
│ ├── __init__.py
│ ├── migrations
│ │ └── __init__.py
│ ├── models.py
│ ├── tests.py
│ └── views.py
└── ticket_30559
├── db.sqlite3
├── __init__.py
├── settings
│ ├── __init__.py
│ └── settings.py
├── settings.py
├── urls.py
└── wsgi.py
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30559#comment:1>