Closed gsgalloway closed 6 years ago
Hey @gsgalloway thanks a lot for this great PR. It takes the library to a whole new level. Appreciate your contributions. Sorry for not getting to this earlier. I reviewed, merged and even created a new release! Cheers.
This PR based off PR #14.
Addresses issues #15 and #11
Changes:
get_current_tenant
would cause errors due to the import statement triggering evaluation of the TenantModel class. This would cause problems if TenantModel were evaluated before the database backend was initialized.