summaryrefslogtreecommitdiff
path: root/docs/ref/django-admin.txt
diff options
context:
space:
mode:
authorBruno Alla <alla.brunoo@gmail.com>2025-04-27 12:01:24 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-04-27 14:41:27 +0100
commitbc21bc4282d854053c1218e8fb3ea39387ccca72 (patch)
tree548330c1779ad6049aa8389c6456b628c657e276 /docs/ref/django-admin.txt
parent3babda775d822232c8438dba8206cd2f3e2dfacc (diff)
Fixed #18296 -- Created missing custom target directory for startproject and startapp.
Diffstat (limited to 'docs/ref/django-admin.txt')
-rw-r--r--docs/ref/django-admin.txt21
1 files changed, 15 insertions, 6 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 74413b78f9..a1603c9e84 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1266,9 +1266,13 @@ By default, :source:`the new directory <django/conf/app_template>` contains a
``models.py`` file and other app template files. If only the app name is given,
the app directory will be created in the current working directory.
-If the optional destination is provided, Django will use that existing
-directory rather than creating a new one. You can use '.' to denote the current
-working directory.
+If the optional destination is provided, Django will use that name instead. If
+the directory with the given name doesn't exist, it will be created. You can
+use '.' to denote the current working directory.
+
+.. versionchanged:: 6.0
+
+ Automatic creation of the destination directory was added.
For example:
@@ -1378,9 +1382,14 @@ If only the project name is given, both the project directory and project
package will be named ``<projectname>`` and the project directory
will be created in the current working directory.
-If the optional destination is provided, Django will use that existing
-directory as the project directory, and create ``manage.py`` and the project
-package within it. Use '.' to denote the current working directory.
+If the optional destination is provided, Django will use that name as the
+project directory, and create ``manage.py`` and the project package within it.
+If the directory with the given name doesn't exist, it will be created. Use '.'
+to denote the current working directory.
+
+.. versionchanged:: 6.0
+
+ Automatic creation of the destination directory was added.
For example: