title: Django displaying all users
body: <p>I want to display all the  users, in my template but I cannot. I think there is a mistake in my codes but I cannot find it. Here is codes.</p>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>class UsersView(TemplateView):
      template_name = 'users.html'
  
      def get_context_data(self, **kwargs):
          context = super(UsersView, self).get_context_data(**kwargs)
          context['object_list'] = UserList.objects.all()
          return context
  </code></pre>
  
  <p><strong>models.py</strong></p>
  
  <pre><code>class UserList(AbstractBaseUser):
      first_name = models.CharField(max_length=200, blank=True, help_text="The first name of the user.")
      last_name = models.CharField(max_length=200, blank=True, help_text="The last name of the user.")
      email = models.EmailField(
          verbose_name='email address',
          max_length=255,
          unique=True,
          help_text="The email and username of the user. Required."
      )
  </code></pre>
  
  <p><strong>users.html</strong></p>
  
  <pre><code>    {% extends 'blog/base.html' %}
  
  {% block content %}
  
  &lt;h1&gt;Users:&lt;/h1&gt;
  
      &lt;ul&gt;
  
          {% for users in object_list %}
              &lt;li class="user"&gt;{{ user }}&lt;/li&gt;
          {% endfor %}
  
      &lt;/ul&gt;
  
  {% endblock %}
  </code></pre>
  
  <p>And this is the page that I get:</p>
  
  <p>Where is my mistake? Thank you.</p>