Merge pull request #684 from bornhack/bootstrap_rename

Renamed references to bootstrap_devsite, to follow new name
This commit is contained in:
Thomas Steen Rasmussen 2020-12-05 14:22:17 +01:00 committed by GitHub
commit 35aa001289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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")