#18296: Make creating apps inside project folder more intuitive with manage.py
startapp command
-------------------------------------+-------------------------------------
Reporter: lgp171188@… | Owner:
Type: | vanessagomes
Cleanup/optimization | Status: new
Component: Core (Management | Version: 1.4
commands) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: manage.py, startapp | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Comment (by SmileyChris):
Talking with Vanessa, we teased out the backwards incompatibilities of
always creating the app folder.
One solution is to only create the app folder if the target folder name
differs. This means that we keep backwards compatibility, but at the cost
of less consistent behaviour.
The other one is that we just assume the command should always create the
app folder. The easiest way to do this would be to move the contents of
`django/conf/template` to `django/conf/template/app_name`. This would
change the format from that implemented by any existing third-party app
templates, but that's not the end of the world.
I'm leaning towards simply moving the app templates.
--
Ticket URL: <https://code.djangoproject.com/ticket/18296#comment:6>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.