mirror of
https://github.com/django/django.git
synced 2025-10-28 08:06:09 +00:00
Removed unneeded list() calls in list.extend() argument.
This commit is contained in:
committed by
Tim Graham
parent
bb81c22d90
commit
553c24018e
@@ -176,7 +176,7 @@ class Apps:
|
||||
|
||||
result = []
|
||||
for app_config in self.app_configs.values():
|
||||
result.extend(list(app_config.get_models(include_auto_created, include_swapped)))
|
||||
result.extend(app_config.get_models(include_auto_created, include_swapped))
|
||||
return result
|
||||
|
||||
def get_model(self, app_label, model_name=None, require_ready=True):
|
||||
|
||||
Reference in New Issue
Block a user