Return a list of all concrete fields on the model and its parents. Private API intended only to be used by Django itself; get_fields() combined with filtering of field properties is the public API for obtaining this field list.
(self)
| 572 | |
| 573 | @cached_property |
| 574 | def concrete_fields(self): |
| 575 | """ |
| 576 | Return a list of all concrete fields on the model and its parents. |
| 577 | |
| 578 | Private API intended only to be used by Django itself; get_fields() |
| 579 | combined with filtering of field properties is the public API for |
| 580 | obtaining this field list. |
| 581 | """ |
| 582 | return make_immutable_fields_list( |
| 583 | "concrete_fields", (f for f in self.fields if f.concrete) |
| 584 | ) |
| 585 | |
| 586 | @cached_property |
| 587 | def local_concrete_fields(self): |
nothing calls this directly
no test coverage detected