citusdata / citusdata/django-multitenant
admin objects filtered with tenant mixin
Open
needs clarification
question
- Dominant language
- Python
- Stars
- 823
- Forks
- 126
- PR merge metrics
- No merged PRs in 30d
Description
Tenant model should be like this to handle admin objects filtering in admin panel.
```
class TenantModel(TenantModelMixin, models.Model):
# Abstract model which all the models related to tenant inherit.
**admin_objects = models.Manager()**
objects = TenantManager()
class Meta:
abstract = True
```
Contributor guide
Assessment
This issue has not been assessed yet.