Changes between Initial Version and Version 1 of Ticket #35759, comment 6


Ignore:
Timestamp:
Sep 13, 2024, 9:32:35 AM (2 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35759, comment 6

    initial v1  
    66
    77but in the end both `varchar` and `text` [https://www.depesz.com/2010/03/02/charx-vs-varcharx-vs-varchar-vs-text/ are aliases for the internal Postgres] `varlena` type so I don't think the argument stands. There are reason why we'd want to allow `CharField(max_length=None)` on [https://code.djangoproject.com/ticket/14094#comment:5 all backends that allow it] which #14094 does a good job at covering.
     8
     9Moreover the addition of this feature could allow us to eventually automatically add a check constraint for `max_length` on SQLite by allowing users to disable it entirely by setting the value to `None`.
Back to Top