I changed settings.py and installed psycopg2==2.8.6. I have validation checks in my models that go something like this.
rating = models.PositiveIntegerField(