#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):

 I still don't understand where is the issue, when the current directory
 name doesn't conflict with the name of an existing Python module it works
 fine. For example
 {{{
 management.call_command(startproject, Path.cwd().stem, '.')
 }}}
 created a new project called `tickets_projects` when I was in the
 `tickets_projects` directory.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33890#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 on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018267ea4927-1dbb6759-5206-4c31-bc7e-637679c63f2e-000000%40eu-central-1.amazonses.com.

Reply via email to