#36533: manage.py startapp <name> <directory> fails to create new app
-------------------------------------+-------------------------------------
Reporter: Kenneth Love | Owner:
| jefferies917
Type: Bug | Status: assigned
Component: Core (Management | Version: 5.2
commands) |
Severity: Normal | Resolution:
Keywords: startapp | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Abhimanyu Singh Negi):
Hi,
I’d like to work on this ticket if it’s still available. I’ve reproduced
the issue on Django 5.2 and confirmed that `django-admin startapp` works
as documented, while `manage.py startapp` fails due to a module conflict
check being applied to the destination directory.
My plan is to align `manage.py startapp` with `django-admin` by ensuring
the conflict check applies to the app name, not the destination path, and
to add a regression test for both cases.
If that approach sounds reasonable and the ticket isn’t already being
actively worked on, I’d be happy to take it.
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/36533#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 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/0107019be61c16aa-e7100a91-15b9-4f8b-92db-1a8de4b3e05c-000000%40eu-central-1.amazonses.com.