Answers for "django save another class data while saving a class"

0

django save another class data while saving a class

class Visit(models.Mode):
     attribute = 
     etc etc etc

    def save(self, *args, **kwargs):
        # do something with Invoice here
        return super().save(*args, **kwargs)
Posted by: Guest on June-17-2021

Code answers related to "django save another class data while saving a class"

Python Answers by Framework

Browse Popular Code Answers by Language