title: how to display uploaded files or images on template in django3
body: <p>I only see the file path in the template. I can't see the file itself.
  (django 3.x)</p>
  
  <p>settings.py</p>
  
  <pre><code>STATIC_URL = '/static/'
  STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
  
  MEDIA_URL = '/media/'
  MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
  </code></pre>
  
  <p>model.py</p>
  
  <pre><code>class EkleModel (models.Model):
      aKaydi = models.CharField(max_length=50, verbose_name='A KAYDI')
      bKaydi = models.CharField(max_length=50, verbose_name='B KAYDI')
      cKaydi = models.CharField(max_length=50, verbose_name='C KAYDI')
      upload = models.FileField(upload_to='media/%Y/%m/%d/', verbose_name='DOSYA YÜKLE')
      yuklemeTarihi =models.DateTimeField(default =timezone.now)
  </code></pre>
  
  <p>views.py</p>
  
  <pre><code>def index(request):
      girdiler = EkleModel.objects.filter(yuklemeTarihi__lte=timezone.now()).order_by('-yuklemeTarihi')
      return render(request, 'sayfalarUygulamasi/index.html', {'girdiler': girdiler})
  </code></pre>
  
  <p>index.html</p>
  
  <pre><code>&lt;img class="card-img-top" src="girdi.upload"&gt;
  &lt;h4 class="card-title"&gt;{{girdi.aKaydi}}&lt;/h4&gt;
  &lt;h4 class="card-title"&gt;{{girdi.bKaydi}}&lt;/h4&gt;
  &lt;h4 class="card-title"&gt;{{girdi.cKaydi}}&lt;/h4&gt;
  &lt;h4 class="card-title"&gt;{{girdi.yuklemeTarihi}}&lt;/h4&gt;
  </code></pre>