From 5bb9b9a3881fb1a334efb2c1357a20bdce68a960 Mon Sep 17 00:00:00 2001 From: Melvyn Sopacua Date: Mon, 20 Feb 2017 15:45:20 +0100 Subject: Fixed #28363 -- Allowed naming the migration generated by squashmigrations. --- docs/ref/django-admin.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 20e1bb02de..3a83bd2b7d 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1132,6 +1132,13 @@ behavior, as optimization is meant to be safe. Suppresses all user prompts. +.. django-admin-option:: --squashed-name SQUASHED_NAME + +.. versionadded:: 2.0 + +Sets the name of the squashed migration. When omitted, the name is based on the +first and last migration, with ``_squashed_`` in between. + ``startapp`` ------------ -- cgit v1.3