summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPrabakaran Kumaresshan <k_prabakaran@hotmail.com>2018-10-19 12:26:33 +0530
committerTim Graham <timograham@gmail.com>2018-10-23 10:05:24 -0400
commit10d82c85aa5f8bd6adff0db49798dd368455cdcf (patch)
tree76e2494c9d348e3ad5dac5fe5d40c15bc47986bb /docs
parent136a900ef98a7b7261a124308c8c26370ff2d5e4 (diff)
Fixed #29831 -- Added validation for makemigrations --name.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/django-admin.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 168f476eeb..f7fa7777e6 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -756,7 +756,8 @@ Enables fixing of migration conflicts.
.. django-admin-option:: --name NAME, -n NAME
-Allows naming the generated migration(s) instead of using a generated name.
+Allows naming the generated migration(s) instead of using a generated name. The
+name must be a valid Python :ref:`identifier <python:identifiers>`.
.. django-admin-option:: --check