I'm in model author create a field for upload picture for my author. But when I want to go inside template, it doesn't show any.
My code in template
<img src="{{ post.author.pic }}" />
and in model author :
pic = models.ImageField(upload_to = func.upload_location, null = True, blank = True)