title: Django-pagination for Django 1.4
body: <p>The docs for django-pagination are out of date for 1.4. When following them, I don't receive errors but the pagination doesn't work. The pagination page counter loads, but there is no pagination. Here is what I have:</p>
  
  <p>settings.py here:</p>
  
  <pre><code>TEMPLATE_CONTEXT_PROCESSORS = (
  "django.contrib.auth.context_processors.auth",
  "django.core.context_processors.debug",
  "django.core.context_processors.i18n",
  "django.core.context_processors.media",
  "django.core.context_processors.static",
  "django.core.context_processors.tz",
  "django.core.context_processors.request",)
  
  MIDDLEWARE_CLASSES = (
      'django.middleware.common.CommonMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'pagination.middleware.PaginationMiddleware',
  )
  INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
      'django.contrib.staticfiles',     
      'django.contrib.admin',       
      'django.contrib.admindocs',
      'photologue',
      'pagination',
  )
  </code></pre>
  
  <p>gallery_detail.html here:</p>
  
  <pre><code>{% extends "photologue/root.html" %}
  {% load pagination_tags %}
  {% block title %}{{ object.title }}{% endblock %}
  
  {% block content %}
  
  &lt;h1&gt;Gallery {{ object.title }}&lt;/h1&gt;
  &lt;h2&gt;Originally published {{ object.date_added|date:"l, F jS, Y" }}&lt;/h2&gt;
  {% if object.description %}&lt;p&gt;{{ object.description }}&lt;/p&gt;{% endif %}
  &lt;div class="photo-gallery"&gt;
  
  &lt;table border="0" cellspacing="0" cellpadding="0"&gt;
    &lt;tr&gt;
      {% autopaginate object.public 10 %}
      {% for photo in object.public %}
      &lt;td&gt;&lt;div class="gallery-photo"&gt;
          &lt;a href="{{ photo.get_absolute_url }}"&gt;&lt;img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.title }}"/&gt;&lt;/a&gt;
      &lt;/div&gt;&lt;/td&gt;  
      &lt;/tr&gt;
  &lt;/table&gt;
      {% endfor %}
      {% paginate %}
  &lt;/div&gt;
  &lt;p&gt;&lt;a href="{% url pl-gallery-list 1 %}"&gt;View all galleries&lt;/a&gt;&lt;/p&gt;
  
  {% endblock %}
  </code></pre>
  
  <p>Thanks for the help.</p>