citusdata / django-multitenant

Python/Django support for distributed multi-tenant databases like Postgres+Citus
MIT License
708 stars 116 forks source link

Fixes invalid field name problem #136

Closed gurkanindibay closed 1 year ago

gurkanindibay commented 1 year ago

type of model_class_or_instance is class and in exception string class itself is tried to be concatenated instead of its name. With this fix, proper class name is being printed.

gurkanindibay commented 1 year ago

@agedemenli I haven't merged PR#134 since @JelteF hasn't reviewed it yet. Therefore I selected add_linter as base branch to reflect the fix in add_linter