Opened 19 years ago
Closed 19 years ago
#4203 closed (fixed)
Add "Default is False" information to model-api.txt
| Reported by: | Owned by: | Jacob | |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Keywords: | docs, model-api | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
On page http://www.djangoproject.com/documentation/model-api/
I recommend insertion of text in << >>
...
blank
If True, the field is allowed to be blank. <<Default is False.>>
...
David
Attachments (1)
Change History (8)
comment:1 by , 19 years ago
| Summary: | Default value of blank is false → For `blank`, add "Default is `False`." |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 19 years ago
| Summary: | For `blank`, add "Default is `False`." → For blank, add "Default is False." |
|---|
comment:3 by , 19 years ago
Happy to help but my django installation does not include a model-api.txt file. What am I missing?
comment:4 by , 19 years ago
If you're using SVN, make sure you check out from trunk, not trunk/django. There is a docs folder located in the trunk root.
comment:5 by , 19 years ago
Index: model-api.txt
===================================================================
--- model-api.txt (revision 5148)
+++ model-api.txt (working copy)
@@ -459,7 +459,7 @@
blank
~
-If True, the field is allowed to be blank.
+If True, the field is allowed to be blank. Default is False.
Note that this is different than
null.nullis purely
database-related, whereasblankis validation-related. If a field has
comment:6 by , 19 years ago
| Has patch: | set |
|---|---|
| Keywords: | docs model-api added |
| Summary: | For blank, add "Default is False." → Add "Default is False" information to model-api.txt |
| Triage Stage: | Accepted → Ready for checkin |
Looks good, thank you
comment:7 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Hi David, thanks for the report. If you're up to it, I'd ask that you modify your model-api.txt file, create a diff and attach that - this is the best way to get tickets in fast ;)