kopia lustrzana https://github.com/wagtail/bakerydemo
Print success message for when load_initial_data runs
rodzic
f824745445
commit
5a70e34b3a
|
@ -11,3 +11,4 @@ class Command(BaseCommand):
|
||||||
fixture_file = os.path.join(fixtures_dir, 'bakerydemo.json')
|
fixture_file = os.path.join(fixtures_dir, 'bakerydemo.json')
|
||||||
|
|
||||||
call_command('loaddata', fixture_file, verbosity=0)
|
call_command('loaddata', fixture_file, verbosity=0)
|
||||||
|
print("Awesome. Your data is loaded! The bakery's doors are almost ready to open...")
|
||||||
|
|
Ładowanie…
Reference in New Issue