2

In Django 1.8, what happens if I try to run unit tests against a SQLite DB when the model has fields from django.contrib.postgres.fields?

Alex Rothberg
  • 10,243
  • 13
  • 60
  • 120

1 Answers1

0

It won't work! The import you mention requires psycopg2 driver.

Sourabh Dev
  • 743
  • 11
  • 22
  • While true that the import requires the `psycopg2` driver, that driver can still be installed even when using the sqlite db. – Alex Rothberg May 21 '15 at 04:25