Open cclauss opened 1 year ago
@cclauss can you share a stack trace, please?
@cclauss Did you ever resolve this? I'm hitting the same thing.
This fix worked for me but unfortunately, it is not an open source project so I cannot add any further details...
flags/models.py
: Add a read_only
parameter to is_active()
to support modern versions of django-waffle
.
- def is_active(self, request):
+ def is_active(self, request, read_only=False):
I am upgrading from
django-waffle==0.19.0
to currentdjango-waffle
on Django 3.1. I am getting the above TypeError which seems to be related to the changes made in #447. Are there any hints on how to modify existing code the deal with theread_only
change?