Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Yet another Django extension with set of generic reusable, pluggable mixins

Project Description

Copyright © 2016 Jahan Balasubramaniam

Django Extensions


Yet another Django extension with set of generic reusable, pluggable mixins


pip install dj-extensions

Currently includes following Mixins:

  • PermissionsRequiredMixin
  • AjaxOnlyMixin
  • PaginationMixin
  • FilterMixin


from dj_extensions.views import PermissionsRequiredMixin, FilterMixin, PaginationMixin

class SomeView(PermissionsRequiredMixin, FilterMixin, PaginationMixin, ListView):
    model                = YourModel
    paginate_by          = 10
    n_list               = 5
    required_permissions = (
    allowed_filters      = {
                            'name': 'emp_name__icontains',
                            'age' : 'age_exact',

Source code: Find the source code at github repo

Documentation: Find the docs at readthedocs

For different versions:

To install latest version, which will not be available in pypi, run below

pip install --upgrade

License: MIT

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(7.4 kB) Copy SHA256 Hash SHA256
Source Feb 6, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting