예제 #1
0
 def handle_noargs(self, **options):
     logging.info('Populating the database.')
     initdb()
     logging.info('Succesfully populated the database.')
예제 #2
0
파일: initdb.py 프로젝트: arashm/pootle
 def handle_noargs(self, **options):
     self.stdout.write('Populating the database.')
     initdb(options["create_projects"])
     self.stdout.write('Successfully populated the database.')
     self.stdout.write("To create an admin user, use the `pootle "
                       "createsuperuser` command.")
예제 #3
0
파일: initdb.py 프로젝트: AmesianX/pootle
 def handle_noargs(self, **options):
     logging.info('Populating the database.')
     initdb()
     logging.info('Successfully populated the database.')