Example #1
0
 def handle_noargs(self, **options):
     logging.info('Populating the database.')
     initdb()
     logging.info('Succesfully populated the database.')
Example #2
0
 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.")
Example #3
0
 def handle_noargs(self, **options):
     logging.info('Populating the database.')
     initdb()
     logging.info('Successfully populated the database.')