I have a rather difficult time trying to create a one-time field in a Django model. Ideally, I would like it to work as a final variable, although I can agree to simply prevent it from being edited with the administrator.
I know that there is a solution for read-only fields, but it also affects the add form, and I don't want the field to be read-only.
source share