Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2058 from c-schmitt/fixes_21560

Fixed #21560 -- missing 'slug' field in example code
  • Loading branch information...
commit 0873200e7f61315ad375061a3dc6d37b514ff985 2 parents c047dda + 744aac6
@claudep claudep authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.