summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/admin/index.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 74e236b0a4..05f0bfcbbc 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -1044,6 +1044,10 @@ subclass::
of the source fields, and then by transforming that result into a valid
slug (e.g. substituting dashes for spaces).
+ Fields are prepopulated on add forms but not on change forms. It's usually
+ undesired that slugs change after an object is created (which would cause
+ an object's URL to change if the slug is used in it).
+
``prepopulated_fields`` doesn't accept ``DateTimeField``, ``ForeignKey``,
``OneToOneField``, and ``ManyToManyField`` fields.