Admin Site Permissions issue with one particular model

2021-06-23 Thread Jimmy Gawain
This is in reference to an issue with the Django admin site in Django v2.2. I have admin set up for two models: Group and GroupMember. GroupMember works fine. When I try to go to the change page for a Group object in my staff admin area I get a permission error: *You are authenticated as

ForeignKey with different queryset from manager

2020-12-14 Thread Jimmy Gawain
This is with Django v2.2. We use tombstoning via a custom BaseModelManager to mark items as deleted in the database but keep them around for reference. class BaseModelManager(models.Manager): def __init__(self, *args, **kwargs): self.include_tombstoned =