#33890: call_command('startproject', 'project_name', '.') raises CommandError
'project_name'
-------------------------------------+-------------------------------------
Reporter: piscvau | Owner: nobody
Type: Bug | Status: closed
Component: Core (Management | Version: 4.0
commands) |
Severity: Normal | Resolution: invalid
Keywords: call_command raises | Triage Stage:
exception | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak):
> SO I do believe this is a bug!.....
There is no need to shout, and no, it's not the same, `django-admin
startproject project-name .` tries to create a project called `project-
name`, on the other hand, in your Python shell example you tried to create
a project called `Path.cwd().stem` which conflicts with the name of an
existing Python module. Again, please try to use support channels.
--
Ticket URL: <https://code.djangoproject.com/ticket/33890#comment:3>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/010701826759da27-a0a6edb9-6636-467a-ac55-9af2e4608f0a-000000%40eu-central-1.amazonses.com.