I used the following information and work for me
'default': {"ENGINE": 'django.db.backends.postgresql_psycopg2', 'NAME': 'dab_name', "USER": "username", "PASSWORD": "password", "HOST": "localhost "," PORT ":" 5432 ", 'OPTIONS': {'options': '-c search_path = tours' #schema name}}
Tested on postgresql 9 and django 1.10.2
Thanks @romke
Sanaul ishaque
source share