How to get an ImageField URL within a template?

前端 未结 4 425
执笔经年
执笔经年 2020-11-30 10:15

I\'ve got the following model in my Django app:

class Image(models.Model):
    image = models.ImageField(
        upload_to=\'images/\', 
        height_fiel         


        
4条回答
提交回复
热议问题