title: Django form won't display
body: <p>I'm working on a project and we need to add a form to add an event. It lists the name, date, time, and address. I got the form to work but when I added the base, the form doesn't show up on the web page with the base loaded. I'm thinking it has something to do with my html file. Here is my html file.</p>
  
  <pre><code>{% extends "base.html" %}
  {% block heading %}My Events{% endblock %}
  {% block content3 %}
      &lt;/h1&gt;&lt;b&gt;&lt;font size="5"&gt;Save Event&lt;/b&gt;&lt;/h1&gt;&lt;/font&gt;
      &lt;form method="POST" action="."&gt;{% csrf_token %}
          {{form.as_p}}
          &lt;input type ="submit" value="Add Event"/&gt;
      &lt;/form&gt;
  
  {% endblock %}
  </code></pre>
  
  <p>views:</p>
  
  <pre><code>def add_event(request):
      user = request.user
      events = user.event_set.all()
      if request.method == "POST":
          form = EventForm(request.POST)
          if form.is_valid():
              event = Event.objects.create(
              eventname = form.cleaned_data['eventname'],
              eventdate = form.cleaned_data['eventdate'],
              eventtime = form.cleaned_data['eventtime'],
              address = form.cleaned_data['address'],
              user = request.user
              )
              return HttpResponseRedirect('/')
      else:
          form = EventForm()
      variables = RequestContext(request, {
          'form': form
      })
      return render_to_response('add_event.html',variables)
  </code></pre>
  
  <p>base:</p>
  
  <pre><code>HTML (base.html)
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;DelMarVa Happenings | {% block title %}{% endblock %}&lt;/title&gt;
    &lt;link rel="stylesheet" href="/site_media/style.css" type="text/css" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div id="wrapper"&gt;
          &lt;div id="masthead"&gt;
              &lt;div id="logo"&gt;
                  &lt;img src="/site_media/Delmarva.gif" width="100px" height="80px" /&gt;
              &lt;/div&gt;
              &lt;h1&gt;DelMarVa Happenings&lt;/h1&gt;
              &lt;br /&gt;
              &lt;h4&gt;A listing of events in and around Delaware, Maryland, and Virginia&lt;/h4&gt;
          &lt;/div&gt;
          &lt;div id="nav"&gt;
              {% if user.is_authenticated %}
                  &lt;h3&gt;welcome, {{ user.username }}&lt;/h3&gt;
              {% else %}
                  &lt;h3&gt;welcome, guest&lt;/h3&gt;
              {% endif %}
                  &lt;ul&gt;
                      &lt;li&gt;&lt;a href="/"&gt;home&lt;a/&gt;&lt;/li&gt;
                  {% if user.is_authenticated %}
                      &lt;li&gt;&lt;a href="/event/"&gt;add event&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="/user/"&gt;my events&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="/account/"&gt;my account&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="/logout/"&gt;logout&lt;/a&gt;&lt;/li&gt;
                  {% else %}
                      &lt;li&gt;&lt;a href="/login/"&gt;login&lt;/a&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;a href="/register/"&gt;register&lt;/a&gt;&lt;/li&gt;
                  {% endif %}
                  &lt;/ul&gt;
          &lt;/div&gt;
          &lt;div id="ads"&gt;
              &lt;img src="/site_media/ad.jpg" /&gt;
          &lt;/div&gt;
          &lt;div id="main"&gt;
              &lt;h2&gt;{% block head %}{% endblock %}&lt;/h2&gt;
              {% block content %}{% endblock %}
          &lt;/div&gt;
      &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>