Opened 15 years ago
Closed 15 years ago
#12676 closed (worksforme)
fix documetation after merge of model-validation to trunk
Reported by: | Alex Koval | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.2-alpha |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In documentation here:
http://docs.djangoproject.com/en/dev/ref/forms/fields/#charfield
its said that valid error message keys are: required, max_length, min_length
While in fact, in trunk code those variables are:
- limit_value
- show_value
(see http://code.djangoproject.com/browser/django/trunk/django/core/validators.py#L108)
Documentation and code mismatch.
Note:
See TracTickets
for help on using tickets.
Near as I can tell the doc is still correct: