X-Git-Url: https://git.mdrn.pl/django-pagination.git/blobdiff_plain/1ab5bdc4f1fd2b5e33ebd5a5bc47408d8f2db000..d328dc6fe3c27a70dfdbf003227edbf1d7cce40c:/README.txt?ds=sidebyside diff --git a/README.txt b/README.txt index e6c84e4..ac590a9 100644 --- a/README.txt +++ b/README.txt @@ -8,21 +8,21 @@ There are really 5 steps to setting it up with your projects (not including installation, which is covered in INSTALL.txt in this same directory.) 1. List this application in the ``INSTALLED_APPS`` portion of your settings - file. Your settings file might look something like: + 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: + 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: