mirror of
https://github.com/django/django.git
synced 2025-04-26 10:14:36 +00:00
Syntax error.
This commit is contained in:
parent
17c66e6fe7
commit
71450f6b45
@ -308,7 +308,7 @@ class AppCache(object):
|
|||||||
is being populated. It returns None for apps that aren't loaded yet.
|
is being populated. It returns None for apps that aren't loaded yet.
|
||||||
"""
|
"""
|
||||||
app_config = self.app_configs.get(app_name.rpartition(".")[2])
|
app_config = self.app_configs.get(app_name.rpartition(".")[2])
|
||||||
return app_config is not None and app_config.name == app_name:
|
return app_config is not None and app_config.name == app_name
|
||||||
|
|
||||||
def get_registered_model(self, app_label, model_name):
|
def get_registered_model(self, app_label, model_name):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user