home.social

#djangoorm β€” Public Fediverse posts

Live and recent posts from across the Fediverse tagged #djangoorm, aggregated by home.social.

  1. πŸš€ Day 1 on django-rls-tenants β€” bringing true PostgreSQL Row-Level Security to Django multitenancy!

    Instead of separate schemas or filtered querysets, this library leverages native RLS policies at the DB level to isolate tenant data automatically.

    βœ… Pros:
    β€’ True DB-level isolation β€” tenants can't bleed into each other
    β€’ Transparent to Django ORM β€” no custom managers needed
    β€’ Leaner than schema-per-tenant approaches
    β€’ Scales well for high tenant counts
    β€’ Security enforced even outside the app layer

    ❌ Cons:
    β€’ PostgreSQL-only (no MySQL/SQLite support)
    β€’ RLS policies add complexity to migrations
    β€’ Debugging cross-tenant issues can be tricky
    β€’ Superuser connections bypass RLS β€” needs care
    β€’ Less community tooling than shared-schema approaches

    Still very early, but the foundations are solid. Would love feedback from anyone who's tackled multitenancy in Django before! 🐘🐍

    #Django #PostgreSQL #Python #Multitenancy #RLS #RowLevelSecurity #OpenSource #WebDev #SaaS #DjangoORM #DevLife

  2. πŸš€ Day 1 on django-rls-tenants β€” bringing true PostgreSQL Row-Level Security to Django multitenancy!

    Instead of separate schemas or filtered querysets, this library leverages native RLS policies at the DB level to isolate tenant data automatically.

    βœ… Pros:
    β€’ True DB-level isolation β€” tenants can't bleed into each other
    β€’ Transparent to Django ORM β€” no custom managers needed
    β€’ Leaner than schema-per-tenant approaches
    β€’ Scales well for high tenant counts
    β€’ Security enforced even outside the app layer

    ❌ Cons:
    β€’ PostgreSQL-only (no MySQL/SQLite support)
    β€’ RLS policies add complexity to migrations
    β€’ Debugging cross-tenant issues can be tricky
    β€’ Superuser connections bypass RLS β€” needs care
    β€’ Less community tooling than shared-schema approaches

    Still very early, but the foundations are solid. Would love feedback from anyone who's tackled multitenancy in Django before! 🐘🐍

  3. Paolo's epic tale of Django ORM might just be the database apocalypse we didn't see coming. πŸ˜΅β€πŸ’« Apparently, it's the secret sauce for world peaceβ€”who knew?! πŸ•βœ¨
    paulox.net/2025/10/06/django-o #DjangoORM #databaseApocalypse #worldPeace #secretSauce #epicTale #HackerNews #ngated

  4. Paolo's epic tale of Django ORM might just be the database apocalypse we didn't see coming. πŸ˜΅β€πŸ’« Apparently, it's the secret sauce for world peaceβ€”who knew?! πŸ•βœ¨
    paulox.net/2025/10/06/django-o #DjangoORM #databaseApocalypse #worldPeace #secretSauce #epicTale #HackerNews #ngated

  5. Paolo's epic tale of Django ORM might just be the database apocalypse we didn't see coming. πŸ˜΅β€πŸ’« Apparently, it's the secret sauce for world peaceβ€”who knew?! πŸ•βœ¨
    paulox.net/2025/10/06/django-o #DjangoORM #databaseApocalypse #worldPeace #secretSauce #epicTale #HackerNews #ngated

  6. Paolo's epic tale of Django ORM might just be the database apocalypse we didn't see coming. πŸ˜΅β€πŸ’« Apparently, it's the secret sauce for world peaceβ€”who knew?! πŸ•βœ¨
    paulox.net/2025/10/06/django-o #DjangoORM #databaseApocalypse #worldPeace #secretSauce #epicTale #HackerNews #ngated

  7. Simon Charette with a decade of experience in the #Django community takes the stage at #DjangonautSpace to present a talk on "Demystifying the Django ORM"! πŸ’š

    Must-watch for everyone who wants to dive deep into the #DjangoORM intricacies! Check-out youtu.be/IakfTkQIuFw 🀩

  8. Discover the power of Django ORM's get method for single record retrieval. Learn best practices, practical applications, and optimization techniques to create more efficient and user-friendly Django applications. #DjangoORM #WebDevelopmen

    teguhteja.id/django-orm-get-me