pypi django-guardian 3.1.0
Improved indexing, tweaks and bugfixes

6 days ago

Saving the 🌳🌳🌳 and the 💰💰💰

⚠️⚠️⚠️ WARNING: This release contains an update to database indexing which should yield considerable additional performance, especially on large table permissions lookups (thanks @Natgho for such rigorous performance testing!!!). Following the migration that introduces these indexes, databases should reindex automatically in the background (typically within 0-30s even for large tables): this is unlikely to be noticeable but users may experience a short lived performance hit during this period.

What's Changed

  • Allow ignore_conflicts on bulk create by @pgiki in #814
  • Add only_with_perms_in parameter to shortcuts.get_groups_with_perms by @Cornelicorn in #788
  • Reset content-type cache on post-migrate (refs #865) by @sevdog in #899
  • Improve default indexing, add index comparison tests and fix test timezones by @Natgho in #896
  • Apply style rules to 3.1.0 release by @thclark in #900

New Contributors

Full Changelog: 3.0.7...3.1.0

Don't miss a new django-guardian release

NewReleases is sending notifications on new releases.