How create a custom form in django with database values
问题 model.py class Venue(models.Model): venue_Name = models.CharField(max_length=100) place = models.CharField(max_length=50) rent = models.IntegerField() parking_area = models.IntegerField() class Decoration(models.Model): rate = models.IntegerField() I have printed the values in database as radio buttons what i want to do is that i want to get the total sum i.e venue.rent + decoration.rate and print it in another page What shoud i give in form action I'm not that familiar with forms. html <form