CleitonDeLima / django-easy-tenants

This is a Django app for managing multiple tenants on the same project instance using a shared approach.
MIT License
49 stars 9 forks source link

Using custom Expression to filter tenant in queryset #18

Closed CleitonDeLima closed 3 years ago

codecov-commenter commented 3 years ago

Codecov Report

Merging #18 (1fb11a1) into master (4957f95) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #18   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines           96       107   +11     
=========================================
+ Hits            96       107   +11     
Flag Coverage Δ
postgres 100.00% <100.00%> (ø)
py3.7 100.00% <100.00%> (ø)
py3.8 100.00% <100.00%> (ø)
sqlite 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
easy_tenants/models.py 100.00% <100.00%> (ø)
easy_tenants/utils.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4957f95...1fb11a1. Read the comment docs.

CleitonDeLima commented 3 years ago

Elegant solution and functioning perfectly!

Nice!