citusdata / django-multitenant

Python/Django support for distributed multi-tenant databases like Postgres+Citus
MIT License
710 stars 116 forks source link

Make our Django version check behaviour consistent #116

Closed JelteF closed 2 years ago

JelteF commented 2 years ago

This changes the way we check for django versions to be either:

  1. Version is below version X.Y: django.VERSION < (X, Y)
  2. Version is equal or higher than version X.Y: django.VERSION >= (X, Y)