'is there a way for me to connect my html form to my Modelform

so I have a pre-built HTML form and I will like to connect the HTML form to my Model form in such a way that I will have my normal styling and don't have to render the Django form on the frontend

this is the model.py

class Property(models.Model):
    home_types = (
        ('BG', 'Bungalow'),
        ('DP','Duplex'),
        ('AP','Apartment'),
        ('MN','Mansion'),
        ('VA','Villa'),
        ('CO','Condo'),
    )

    list_types = (
        ('FS', 'For Sale'),
        ('FR','For Rent'),
    )


    property_name = models.CharField(max_length=250, default='e.g 19 Queens Ave, Encino')
    property_location = models.CharField(max_length=250, default='e.g 19 Queens Ave, Encino')
    list_type = models.CharField(max_length=2, choices=list_types, default= 'For Sale')
    price= models.DecimalField(max_digits=13, decimal_places=2)
    home_type = models.CharField(max_length=2, choices=home_types, default= 'Bungalow')
    property_id = models.UUIDField(primary_key=True, default=uuid.uuid4)
    bedrooms = models.IntegerField(default=0)
    bathrooms = models.IntegerField(default=0)
    garage = models.IntegerField(default=0)
    lot_size = models.IntegerField(default=0)
    images = models.ImageField(upload_to='property_images')
    description = models.TextField(max_length=600)
    built_on = models.DateTimeField(null=True)
    listed_on =models.DateTimeField(auto_now_add=True, auto_now=False, null=True)
    property_link = models.URLField(max_length=150, null=TRUE)



    def __str__(self):
        return self.property_location
    

I need to find a way to submit data to the model database without changing the frontend design

here is the add listing frontend link http://realtinic.com/add-listing



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source