#30616: CommandTemplate Behavior Is Inconsistent.
-------------------------------------+-------------------------------------
     Reporter:  John Gooding         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Management     |                  Version:  master
  commands)                          |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * status:  new => closed
 * type:  Uncategorized => Bug
 * version:  2.2 => master
 * resolution:   => invalid


Comment:

 Thanks for the report, however this behavior doesn't depend on where it is
 run, it depends on arguments and this is a
 [https://docs.djangoproject.com/en/2.2/ref/django-admin/#startapp
 documented] behavior:

 - `python ../manage.py startapp polls` - creates a Django app directory
 structure in the current directory.
 - `python manage.py startapp polls project` - creates a Django app
 directory structure in the existing directory `project`, because you
 provided an optional `destination`, see:

 > "If the optional destination is provided, Django will use that existing
 directory rather than creating a new one."

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30616#comment:1>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.fba8735ccd36716e8897beb16e60da51%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to