kopia lustrzana https://github.com/wagtail/wagtail
Provide fallback value for schema_only parameter in update_index management command
rodzic
be74f762f0
commit
0fdf98469c
|
@ -200,6 +200,7 @@ Contributors
|
|||
* Andreas Nüßlein
|
||||
* John Heasly
|
||||
* Nikolai Røed Kristiansen
|
||||
* Alex Zagorodniuk
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -117,7 +117,7 @@ class Command(BaseCommand):
|
|||
|
||||
# Update backends
|
||||
for backend_name in backend_names:
|
||||
self.update_backend(backend_name, schema_only=options['schema_only'])
|
||||
self.update_backend(backend_name, schema_only=options.get('schema_only', False))
|
||||
|
||||
def print_newline(self):
|
||||
self.stdout.write('')
|
||||
|
|
Ładowanie…
Reference in New Issue