(model)
| 64 | |
| 65 | |
| 66 | def get_model_ct_tuple(model): |
| 67 | # Deferred models should be identified as if they were the underlying model. |
| 68 | model_name = ( |
| 69 | model._meta.concrete_model._meta.model_name |
| 70 | if hasattr(model, "_deferred") and model._deferred |
| 71 | else model._meta.model_name |
| 72 | ) |
| 73 | return (model._meta.app_label, model_name) |
| 74 | |
| 75 | |
| 76 | def get_model_ct(model): |
no outgoing calls
no test coverage detected
searching dependent graphs…