petes93
petes93

Reputation: 105

form templating in django

Is there as other way other than to call form as

{{form}}

because i need to place the text in different places in the html class

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()
picture = models.ImageField(upload_to='images/', blank=True, null=True)

I need to print the picture as well in html page like this enter image description here

Upvotes: 0

Views: 28

Answers (1)

mipadi
mipadi

Reputation: 411310

Yep, you can do it manually, if necessary. Examples are available in the Django docs.

Upvotes: 1

Related Questions