diff options
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/fields.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 6630b7bc26..2ec74e4306 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -689,6 +689,10 @@ default length of 50. Implies setting :attr:`Field.db_index` to ``True``. +It is often useful to automatically prepopulate a SlugField based on the value +of some other value. You can do this automatically in the admin using +:attr:`~django.contrib.admin.ModelAdmin.prepopulated_fields`. + ``SmallIntegerField`` --------------------- |
