{"repo":"kdpisda/django-rls","free":true,"listed":false,"github":"https://github.com/kdpisda/django-rls","clone":"git clone https://github.com/kdpisda/django-rls.git","description":"Row Level Security for Django","language":"Python","stars":92,"topics":["django","postgres","postgresql","rls","security"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"Django RLS A Django package that provides PostgreSQL Row Level Security (RLS) capabilities at the database level. See CONTRIBUTING.md. Security See SECURITY.md. Features - 🔒 Database-level Row Level Security using PostgreSQL RLS - 🏢 Tenant-based and user-based policies - 🐍 Pythonic Policies : Define policies using standard Django Q objects - 🌳 Hierarchical RLS : Support for recursive CTEs and nested organizations - ⚡ Context Processors : Inject dynamic context variables (e.g. user IP, session data) - 🔧 Django 5.0, 5.1, 5.2 (LTS), and 6.0 support - 🧪 Comprehensive test coverage - 📖 Extensible policy system - ⚡ Performance optimized Quick Start Installation Install from PyPI: Or install the latest development version: Requirements - Python 3.10, 3.11, 3.12, or 3.13 - Django 5.0, 5.1, 5.2 (LTS), or 6.0 - PostgreSQL 12 or higher (tested with PostgreSQL 17) Add to your Django settings: Documentation Full documentation is available at django-rls.com Quick Links - Getting Started - Installation Guide - API Reference - Examples License BSD 3-Clause License - see LICENSE file for details.","default_branch":null,"files":null,"tree":[],"storefront":"/r/kdpisda","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kdpisda/django-rls/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}