Parcourir la source

Print success message for when load_initial_data runs

Edd Baldry il y a 8 ans
Parent
commit
5a70e34b3a
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      bakerydemo/base/management/commands/load_initial_data.py

+ 1 - 0
bakerydemo/base/management/commands/load_initial_data.py

@@ -11,3 +11,4 @@ class Command(BaseCommand):
         fixture_file = os.path.join(fixtures_dir, 'bakerydemo.json')
 
         call_command('loaddata', fixture_file, verbosity=0)
+        print("Awesome. Your data is loaded! The bakery's doors are almost ready to open...")