[Django]-How can I extract parts of a Django Postgres DateRangeField

5👍

http://initd.org/psycopg/docs/extras.html#psycopg2.extras.Range

Object attributes:

lower
The lower bound of the range. None if empty or unbound.

upper
The upper bound of the range. None if empty or unbound.

Leave a comment