(model_key)
| 133 | return operation, args, keywords |
| 134 | |
| 135 | def app_model_error(model_key): |
| 136 | try: |
| 137 | apps.get_app_config(model_key[0]) |
| 138 | model_error = "app '%s' doesn't provide model '%s'" % model_key |
| 139 | except LookupError: |
| 140 | model_error = "app '%s' isn't installed" % model_key[0] |
| 141 | return model_error |
| 142 | |
| 143 | # Here are several functions which return CheckMessage instances for the |
| 144 | # most common usages of lazy operations throughout Django. These functions |
no test coverage detected