Skip to content
Browse files

Merge pull request #2058 from c-schmitt/fixes_21560

Fixed #21560 -- missing 'slug' field in example code
  • Loading branch information...
2 parents c047dda + 744aac6 commit 0873200e7f61315ad375061a3dc6d37b514ff985 @claudep claudep committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/forms/modelforms.txt
View
2 docs/topics/forms/modelforms.txt
@@ -528,7 +528,7 @@ field, you could do the following::
class Meta:
model = Article
- fields = ['pub_date', 'headline', 'content', 'reporter']
+ fields = ['pub_date', 'headline', 'content', 'reporter', 'slug']
If you want to specify a field's validators, you can do so by defining

0 comments on commit 0873200

Please sign in to comment.
Something went wrong with that request. Please try again.