In the document, 'AppConfig.name' is defined as follows.
{{{
AppConfig.name
Full Python path to the application, e.g. 'django.contrib.admin'.
This attribute defines which application the configuration applies to. It
must be set in all AppConfig subclasses.
It must be unique across a Django project.
}}}
[https://docs.djangoproject.com/en/2.2/ref/applications/#django.apps.AppConfig.name]
So, I belive that It has to be a path of app.
--
Ticket URL: <https://code.djangoproject.com/ticket/30618>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => JungChaeMoon
* stage: Unreviewed => Accepted
* type: Cleanup/optimization => Bug
* needs_tests: 0 => 1
Comment:
[https://github.com/django/django/pull/11542 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/30618#comment:1>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/30618#comment:2>
* status: assigned => closed
* resolution: => wontfix
Comment:
I'm sorry, but I realized that we will not be able to handle all cases
properly and that this patch can cause regressions for people that call
`manage.py` for other directories, e.g.
{{{
python myproject/manage.py startapp test_app myproject/test_other_name
}}}
It is [https://docs.djangoproject.com/en/2.2/ref/django-admin/#startapp
documented] that `startapp` uses `app_name` as passed to the command and I
believe that we should keep this behavior. Thanks for your efforts!
--
Ticket URL: <https://code.djangoproject.com/ticket/30618#comment:3>