blob: fe6aa4eca512b0354253672c585129e96f9b60cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
from django.core.management import BaseCommand
from ctrack.core.utils import populate_db
class Command(BaseCommand):
help = """
Creates a large test fixture.
"""
def handle(self, *args, **options):
populate_db()
# TODO - adapt this so that it records more than just Persons created
self.stdout.write(
self.style.SUCCESS(
f"Created test fixture successfully."
)
)
|