• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux django-pagination Download

django-pagination

December 4, 2008
Develop pagination features with strong stability.
Version 1.0.5
License BSD License
Platform Linux
Supported Languages English
Homepage code.google.com
Developed by Eric Florenzano
Django-pagination is a utility that offers users robust pagination tools for Django. This tool enables easy Digg-style pagination without requiring any modifications to your views.

Setting up django-pagination involves five simple steps, with the installation process being covered in the INSTALL.txt file in the same directory. Firstly, add the application to the INSTALLED_APPS portion of your settings file. Your settings file should resemble the following:

INSTALLED_APPS = (

...

'pagination',

)

Next, install the pagination middleware by adding the following line to your settings file :

MIDDLEWARE_CLASSES = (

...

'pagination.middleware.PaginationMiddleware',

)

If the request context processor is not already added in your setup, you will need to copy and paste the code below under the value 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")

Afterwards, add the following line at the top of your template to load the pagination tags:

{% load pagination_tags %}

Decide on a variable to paginate, then use the autopaginate tag on that variable before iterating over it. This can take one of two forms depending on whether you want 20 results per page or a custom number of results:

{% autopaginate object_list %} - this assumes you want the default 20 results per page.

{% autopaginate object_list 10 %} - this specifies a custom amount of 10 results per page.

Finally, display the current page and available pages by calling the paginate inclusion tag:

{% paginate %}

It is important to note that the paginate tag assumes that you have called autopaginate first.

Optional settings in django-pagination include PAGINATION_DEFAULT_PAGINATION, PAGINATION_DEFAULT_WINDOW, PAGINATION_DEFAULT_ORPHANS and PAGINATION_INVALID_PAGE_RAISES_404. These settings are useful for changing the default behavior of the pagination tags.

Overall, django-pagination offers an easy-to-use pagination solution that allows users to implement pagination without having to modify their views.
What's New

Version 1.0.5: N/A

Free Download 12K
327
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

MySQLoader
MySQLoader is a KDE application that allows easy control of the MySQL ...
fbxkb
Fbxkb is a software tool that functions as both a keyboard indicator ...
RavenNuke
This CMS is a reliable and speedy system for managing content with ...
BitNami Drupal Module
BitNami Drupal Module simplifies the installation and setup process for Drupal with ...
Open Inventor
Open InventorTM is a 3D toolkit that helps to solve interactive graphics ...
kavi2dvd
Kavi2dvd is a Kommander script that converts AVI files to mpeg2 with ...
ferm
Ferm simplifies the management and configuration of complex firewall rules. It is ...
Hebrew Editor
Hebrew Editor software assists Hebrew speakers in authoring and modifying LaTeX documents ...
Monica
Monica is a tool designed for calibrating your monitor.
paver-templates
The Paver-enable template is a software tool that allows developers to easily ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.