#8802 closed (fixed)
Document database-dependent behavior of BooleanField.
| Reported by: | stengleind | Owned by: | Jacob |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
As noted in http://code.djangoproject.com/ticket/7190, BooleanField can be either an int or a bool depending on the database used.
This bit of non-deterministic behavior should be documented very clearly.
-Dave
Attachments (1)
Change History (7)
by , 17 years ago
| Attachment: | django-mysql-bool-note.diff added |
|---|
comment:1 by , 17 years ago
| Component: | Uncategorized → Documentation |
|---|---|
| Has patch: | set |
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
comment:3 by , 17 years ago
| milestone: | → 1.0 |
|---|
comment:4 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:5 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Looks like the doc in the code should be updated. There is a fine difference between bool and int:
True
False
-Dave