mirror of
https://github.com/django/django.git
synced 2025-05-06 06:56:30 +00:00
Removed unused model's Options.installed.
Unused since f9698c43918c118a29516cbef4e23c197eb2dc25.
This commit is contained in:
parent
afeafd6036
commit
8e3b1cf098
@ -141,10 +141,6 @@ class Options:
|
|||||||
# Don't go through get_app_config to avoid triggering imports.
|
# Don't go through get_app_config to avoid triggering imports.
|
||||||
return self.apps.app_configs.get(self.app_label)
|
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):
|
def contribute_to_class(self, cls, name):
|
||||||
from django.db import connection
|
from django.db import connection
|
||||||
from django.db.backends.utils import truncate_name
|
from django.db.backends.utils import truncate_name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user