title: how to fix dynamic image tag in html
body: <p>I am rendering an image tag in HTML  and i got error like 
  Models:</p>
  
  <pre><code>class Events(models.Model):
      event_author=models.ManyToManyField(Author)
      event_title=models.CharField(max_length=300)
      event_title_image = models.ImageField(upload_to='images/', blank=True, null=False)
      event_description=models.TextField(blank = True)
      event_image_description = models.ImageField(upload_to='images/', blank=True, null=True)
      event_release_date = models.DateField(null="false")
  </code></pre>
  
  <p>HTML page code </p>
  
  <pre><code>{% for events in events %}
      &lt;div&gt;
  
          &lt;h2&gt;&lt;a href=""&gt;{{ events.event_title }}&lt;/a&gt;&lt;/h2&gt;
          &lt;p&gt;published: {{ events.event_release_date }}&lt;/p&gt;
  
          &lt;p&gt;{{ events.event_description|linebreaksbr }}&lt;/p&gt;
          &lt;img src={{ events.event_title_image }} alt="diagram"  " /&gt;
  </code></pre>
  
  <h1>views</h1>
  
  <pre><code>def index(request):
      return render(request, 'polls/home.html', {})
  
  "model class name and function name should not be samm"
  def Event(request):
      events=Events.objects.filter(event_release_date__lte=timezone.now()).order_by('event_release_date')
      return render(request, 'polls/events.html', {'events':events})
  </code></pre>
  
  <p>URls file</p>
  
  <pre><code>from django.contrib import admin
  from django.conf import settings # new
  from django.conf.urls.static import static
  from django.conf.urls import url, include
  
  from django.conf.urls.static import static
  from django.urls import path, include
  
  
  
  urlpatterns = [
      path('admin/', admin.site.urls),
      path('', include("polls.urls")),
  
  
  
  ]+static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)
  </code></pre>
  
  <p>i expect  image need to display in a web page then i got an error like</p>
  
  <p><a href="https://i.stack.imgur.com/pS1hK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pS1hK.png" alt="enter image description here"></a></p>