#30618: AppConfig.name should be a full python path when using the optional
directory.
-------------------------------------+-------------------------------------
Reporter: JungChaeMoon | Owner:
| JungChaeMoon
Type: Bug | Status: closed
Component: Core (Management | Version: dev
commands) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce):
I think one thing we would struggle with is custom templates for the
startapp command, as documented:
> The template context used for all matching files is:
> * Any option passed to the startapp command (among the command’s
supported options)
> * app_name – the app name as passed to the command
So you will either update app_name in the context to not be what it is
defined here, or you will add something new to the template context (and
existing templates may want to update their template).
Also in Mariusz's example, `python myproject/manage.py startapp test_app
myproject/test_other_name` I am not sure what the expected result would
be? To ignore the passed in app_name completely?
--
Ticket URL: <https://code.djangoproject.com/ticket/30618#comment:5>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019865199eac-07473a70-5357-41d3-80d2-9a711d932c77-000000%40eu-central-1.amazonses.com.