Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't import django.contrib.postgres.search if not using postgresql.
Importing django.contrib.postgres.search requires having psycopg2 installed, which often requires compiling psycopg2 from source, which can be a nuisance. Remove this hard dependency (only import the module if the relevant backend is being used) so that it's possible to run a demo server using sqlite without having psycopg2 installed.
- Loading branch information