codeforamerica/intake

View on GitHub
intake/management/commands/load_essential_data.py

Summary

Maintainability
A
0 mins
Test Coverage
from django.core import management
from django.core.management.base import BaseCommand
from project.fixtures_index import ESSENTIAL_DATA_FIXTURES


class Command(BaseCommand):
    help = str(
        "Loads 'essential' data from fixture files")

    def handle(self, *args, **kwargs):
        management.call_command('loaddata', *ESSENTIAL_DATA_FIXTURES)