diff --git a/README.md b/README.md index 01ef9dfc..bdb15190 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/src/utils/management/commands/bootstrap_devsite.py b/src/utils/management/commands/bootstrap_devsite.py index e52e4ac6..207cc0bf 100644 --- a/src/utils/management/commands/bootstrap_devsite.py +++ b/src/utils/management/commands/bootstrap_devsite.py @@ -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}!") diff --git a/src/utils/tests.py b/src/utils/tests.py index 23b8899f..7850521f 100644 --- a/src/utils/tests.py +++ b/src/utils/tests.py @@ -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")