Explorar o código

Print success message for when load_initial_data runs

Edd Baldry %!s(int64=8) %!d(string=hai) anos
pai
achega
5a70e34b3a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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...")