My suggestion is to add **read-only** flag to the BaseField class and if
the flag is true, it shall be skipped from insert/update and can be
selected as usual.
I can do it, if the community will accept it.
--
Ticket URL: <https://code.djangoproject.com/ticket/33135>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* version: => dev
* resolution: => duplicate
Comment:
Thanks for this ticket.
[https://code.djangoproject.com/ticket/31300#comment:1 Generated/Function-
based virtual columns] are a big topic. I don't think it's worth adding
partial support and force users to maintain them manually.
Duplicate of #31300.
--
Ticket URL: <https://code.djangoproject.com/ticket/33135#comment:1>
--
Ticket URL: <https://code.djangoproject.com/ticket/33135#comment:2>