

def generate_support(self):
    self.stdout.write('Generating Supports')
    for i in range(self.object_limit):
        for j in range(3):
            back_office_asset = BaseObjectsSupportFactory().baseobject
            back_office_asset.owner = self.get_user()
            back_office_asset.user = self.get_user()
            back_office_asset.save()

dataset/ETHPy150Open allegro/ralph/src/ralph/data_importer/management/commands/demodata.py Command.generate_support/original