0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Removed unused model's Options.installed.

Unused since f9698c4391.
This commit is contained in:
Mariusz Felisiak 2021-10-28 16:08:59 +02:00 committed by GitHub
parent afeafd6036
commit 8e3b1cf098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,10 +141,6 @@ class Options:
# Don't go through get_app_config to avoid triggering imports.
return self.apps.app_configs.get(self.app_label)
@property
def installed(self):
return self.app_config is not None
def contribute_to_class(self, cls, name):
from django.db import connection
from django.db.backends.utils import truncate_name