mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
12 lines
347 B
Python
12 lines
347 B
Python
from django.core.management import call_command
|
|
from django.core.management.base import BaseCommand
|
|
|
|
|
|
class Command(BaseCommand):
|
|
help = 'Adds sample data to use for testing'
|
|
can_import_settings = True
|
|
|
|
def handle(self, *args, **options):
|
|
call_command('generateSampleRIGSData')
|
|
call_command('generateSampleAssetsData')
|