login
Holden Web
What you'll need to know tomorrow

Comments on Django Tip: Non-editable Fields

Ah, very nice. I've been trying to solve this prob...

KN · 2008-10-19T17:00:00

Ah, very nice. I've been trying to solve this problem right now. Thanks for the post!

@grzywacz: of course if you are just creating mode...

Steve · 2008-10-19T17:13:00

@grzywacz: of course if you are just creating models containing the standard Field types all you need to do is add editable=False to the creator calls.

I've had problems thinking of a use case for editable=True for these fields, however, since any value input by a user would be overridden by the pre_save() method.

Page 1 of 1

Back to post