@@ -0,0 +1,777 @@
+from datetime import datetime%0Afrom django.core.management.base import BaseCommand%0Afrom casexml.apps.case.mock import CaseFactory%0A%0A%0Aclass Command(BaseCommand):%0A    help = %22Create simple mock data in a domain.%22%0A%0A    def add_arguments(self, parser):%0A        parser.add_argument('domain', help='Domain to create data in.')%0A        parser.add_argument('count', type=int, help='Number of forms/cases to create.')%0A%0A    def handle(self, domain, count, **options):%0A        factory = CaseFactory(domain=domain)%0A        date_string = datetime.now().isoformat()%0A        for i in range(count):%0A            factory.create_case(case_name='mock-data-%7B%7D-%7B%7D'.format(date_string, i))%0A        print 'successfully created %7B%7D cases in domain %7B%7D with timestamp %7B%7D'.format(count, domain, date_string)%0A

add create_mock_data util