bernardopires / django-tenant-schemas

Tenant support for Django using PostgreSQL schemas.
https://django-tenant-schemas.readthedocs.org/en/latest/
MIT License
1.46k stars 424 forks source link

select the only existing schema by default in interactive tenant option #632

Closed amitgaru2 closed 9 months ago

amitgaru2 commented 4 years ago

Currently, even if there is only one scheme, user is shown with option to list schema and have to select it to proceed. So this PR will, on interactive tenant option, select the only existing schema by default without user interaction if there is only one schema.