Renamed references to bootstrap_devsite, to follow new name

This commit is contained in:
Thomas Flummer 2020-11-01 18:26:20 +01:00
parent b06df33cea
commit 7626d375b7
3 changed files with 5 additions and 5 deletions

View file

@ -79,7 +79,7 @@ Is this a new installation? Initialize the database:
Is this for local development? Bootstrap the database with dummy data and users:
```
(venv) $ python src/manage.py bootstrap-devsite
(venv) $ python src/manage.py bootstrap_devsite
```

View file

@ -1712,7 +1712,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
start = timezone.now()
self.output(
self.style.SUCCESS("----------[ Running bootstrap-devsite ]----------")
self.style.SUCCESS("----------[ Running bootstrap_devsite ]----------")
)
self.output(
self.style.SUCCESS(
@ -1854,4 +1854,4 @@ class Command(BaseCommand):
self.output("done!")
duration = timezone.now() - start
self.output(f"bootstrap-devsite took {duration}!")
self.output(f"bootstrap_devsite took {duration}!")

View file

@ -3,8 +3,8 @@ from django.test import TestCase
class ProductAvailabilityTest(TestCase):
""" Test bootstrap-devsite script (touching many codepaths) """
""" Test bootstrap_devsite script (touching many codepaths) """
def test_bootstrap_script(self):
""" If no orders have been made, the product is still available. """
call_command("bootstrap-devsite")
call_command("bootstrap_devsite")