Return the value of this field in the given model instance.
(self, obj)
| 1189 | return form_class(**defaults) |
| 1190 | |
| 1191 | def value_from_object(self, obj): |
| 1192 | """Return the value of this field in the given model instance.""" |
| 1193 | return getattr(obj, self.attname) |
| 1194 | |
| 1195 | def slice_expression(self, expression, start, length): |
| 1196 | """Return a slice of this field.""" |
no outgoing calls