summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1ab5bdc)
git-svn-id: https://django-pagination.googlecode.com/svn/trunk@18
7f1efe38-554e-0410-b69d-
834cb44da2d5
1. List this application in the ``INSTALLED_APPS`` portion of your settings
file. Your settings file might look something like:
1. List this application in the ``INSTALLED_APPS`` portion of your settings
file. Your settings file might look something like:
- INSTALLED_APPS = (
- # ...
- 'pagination',
- )
+ INSTALLED_APPS = (
+ # ...
+ 'pagination',
+ )
2. Install the pagination middleware. Your settings file might look something
like:
2. Install the pagination middleware. Your settings file might look something
like:
- MIDDLEWARE_CLASSES = (
- # ...
- 'pagination.middleware.PaginationMiddleware',
- )
+ MIDDLEWARE_CLASSES = (
+ # ...
+ 'pagination.middleware.PaginationMiddleware',
+ )
3. Add this line at the top of your template to load the pagination tags:
3. Add this line at the top of your template to load the pagination tags: