Commits

Anonymous committed 0111185

bugfixes (removing pagination)

Comments (0)

Files changed (4)

 		# ...,
 	)
 	
-Add `pagination.middleware.PaginationMiddleware` to your MIDDLEWARE_CLASSES and make sure that `django.core.context_processors.request` is in the list of TEMPLATE_CONTEXT_PROCESSORS.
-
 Run `python manage.py syncdb` to sync the database::
 
 	python manage.py syncdb
             'django.contrib.contenttypes',
             'django.contrib.auth',
             'taggit',
-            'pagination',
             'easy_thumbnails',
             'photos',
             'photos.tests'            
         ],
-        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',
-        ),
         ROOT_URLCONF='photos.tests.urls',
         MEDIA_URL='/static/',
-        MEDIA_ROOT=join(abspath(dirname(__file__)), 'src/photos/tests/static/'),
-        TEMPLATE_CONTEXT_PROCESSORS=(
-                                     'django.core.context_processors.auth',
-                                     'django.core.context_processors.debug',
-                                     'django.core.context_processors.i18n',
-                                     'django.core.context_processors.media',
-                                     'django.core.context_processors.request'
-                                     )       
+        MEDIA_ROOT=join(abspath(dirname(__file__)), 'src/photos/tests/static/')
     )
 
 from django.test.simple import run_tests
 NEWS = open(os.path.join(here, 'NEWS.txt')).read()
 
 
-version = '0.2.1'
+version = '0.2.2'
 
 install_requires = [
     'Django',

src/photos/templates/photos/photo_detail.html

 {% extends "photos/base.html" %}
 {% load thumbnail %}
-{% load pagination_tags %}
 {% load photos_extras %}