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.1 and Python 3.5-3.8.


First install the django-conditions package:

pip install django-conditions

Then add conditions to your INSTALLED_APPS setting: