Return a list of all concrete fields on the model. 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)
| 585 | |
| 586 | @cached_property |
| 587 | def local_concrete_fields(self): |
| 588 | """ |
| 589 | Return a list of all concrete fields on the model. |
| 590 | |
| 591 | Private API intended only to be used by Django itself; get_fields() |
| 592 | combined with filtering of field properties is the public API for |
| 593 | obtaining this field list. |
| 594 | """ |
| 595 | return make_immutable_fields_list( |
| 596 | "local_concrete_fields", (f for f in self.local_fields if f.concrete) |
| 597 | ) |
| 598 | |
| 599 | @cached_property |
| 600 | def many_to_many(self): |
nothing calls this directly
no test coverage detected