mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
parent
afeafd6036
commit
8e3b1cf098
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user