django-conditions documentation


django-conditions is a Django app that allows creation of conditional logic in admin. Some possible use cases:

  • Segment your user base into cohorts with targeted messaging
  • Provide different rewards to users depending on their expected value
  • In a game, define the winning objectives of a mission/quest
  • and many more…

django-conditions supports Django 2.2-3.2 and Python 3.7-3.10.


First install the django-conditions package:

pip install django-conditions

Then add conditions to your INSTALLED_APPS setting: