def bootstrap_pass_one(cls):
     PostgresModel.bootstrap_pass_one(
         model_class=cls,
         xml_tag='master',
         name_attr='title',
         skip_without=['title'],
         )
Beispiel #2
0
 def bootstrap_pass_one(cls):
     PostgresModel.bootstrap_pass_one(
         model_class=cls,
         xml_tag='release',
         name_attr='title',
         skip_without=['title'],
         )
Beispiel #3
0
 def setUpTestDB(cls):
     Bootstrapper.is_test = True
     with test_utils.test_database(
         cls.test_database,
         cls.models,
         create_tables=False,
         fail_silently=True,
         ):
         print(PostgresModel._meta.database.database)
         PostgresModel.bootstrap_postgres_models(pessimistic=True)
 def bootstrap_pass_one(cls):
     PostgresModel.bootstrap_pass_one(
         cls,
         'artist',
         id_attr='entity_id',
         name_attr='name',
         skip_without=['name'],
         )
     PostgresModel.bootstrap_pass_one(
         cls,
         'label',
         id_attr='entity_id',
         name_attr='name',
         skip_without=['name'],
         )
Beispiel #5
0
 def bootstrap_pass_one(cls):
     PostgresModel.bootstrap_pass_one(
         cls,
         'artist',
         id_attr='entity_id',
         name_attr='name',
         skip_without=['name'],
         )
     PostgresModel.bootstrap_pass_one(
         cls,
         'label',
         id_attr='entity_id',
         name_attr='name',
         skip_without=['name'],
         )