rules 3.4


Awesome Django authorization, without the database

Awesome Django authorization, without the database

Stars: 1813, Watchers: 1813, Forks: 146, Open Issues: 36

The dfunckt/django-rules repo was created 10 years ago and the last code push was 2 weeks ago.
The project is very popular with an impressive 1813 github stars!

How to Install rules

You can install rules using pip

pip install rules

or add it to a project with poetry

poetry add rules

Package Details

Akis Kesoglou
GitHub Repo:


No  rules  pypi packages just yet.


A list of common rules errors.

Code Examples

Here are some rules code examples and snippets.

GitHub Issues

The rules package has 36 open issues on GitHub

  • Use APIView.permission_denied to handle 401 and 403 http errors

See more issues on GitHub

Related Packages & Articles

django-jet 1.0.8

Modern template for Django admin interface with improved functionality

django-web3-auth 0.1.6

django-web3-auth is a pluggable Django app that enables login/signup via an Ethereum wallet (a la CryptoKitties). The user authenticates themselves by digitally signing the session key with their wallet's private key.

fontawesomefree 6.6.0

fontawesomefree is a Python package that provides access to Font Awesome, the internet's most popular icon library and toolkit. It is designed to be used with Django, leveraging how Django handles static files, but it can be installed for any Python project. The package downloads Font Awesome Free to your site-packages, making it a valuable tool for developers looking to enhance the visual appeal of their web applications with high-quality icons. It can be considered as a part of Web Development and UI/UX Design tools.