def create_zovirax_registration(self, zovirax): glaxo = Manufacturer(name="GLAXO SMITHKLINE (PTY) LTD, SA") glaxo.save() sangala = self.create_and_return_sangala() registration = ProductRegistration(product=zovirax, country=sangala, manufacturer=glaxo) registration.save()
def create_lovire_registration(self, lovire): ranbaxy = Manufacturer(name="Ranbaxy Laboratories Ltd, India") ranbaxy.save() sangala = self.create_and_return_sangala() supplier = Supplier(name="CIPLA MEDPRO, RSA (company name)") supplier.save() registration = ProductRegistration(product=lovire, country=sangala, manufacturer=ranbaxy, supplier=supplier) registration.save()
def set_up_and_return_unique_pharma(self): unique_pharma = Manufacturer(name="Unique Pharmaceutical Labs, India") unique_pharma.save() return unique_pharma