[Django] #36101: Support bit data type model field on MySQL, PostgreSQL

4 views
Skip to first unread message

Django

unread,
Jan 15, 2025, 10:00:20 AM1/15/25
to django-...@googlegroups.com
#36101: Support bit data type model field on MySQL, PostgreSQL
-------------------------------------+-------------------------------------
Reporter: Jordan Bae | Type: New
| feature
Status: new | Component: Database
| layer (models, ORM)
Version: dev | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Currently Django model field doesn't support bit data type.

I think It can be helpful to handle bit data type on MySQL, PostgreSQL.

Especially I have below experience.

When I was trying to make a read-only model with inspectdb, bit data type
column was made by TextField with `This field type is a guess.`.

It's not a bug. but BitField will makes efficiency bit data type and other
experiences on Django
--
Ticket URL: <https://code.djangoproject.com/ticket/36101>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages