You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, from the above exception it seems that djongo does not implement duration arithmetic. Unfortunately, this arithmetic is required by the code to load only rules that are still active. djongo is not supported, but I think you can easily modify the code to remove this arithmetic. Try editing middleware._load_blacklist() and removing the calls to annotate() and filter(). This will load all blacklist rules from the database, even the ones that have expired. Optionally, you can also implement your own filtering in the for loop, to avoid processing expired rules.
Error:
Perhaps of note: I am using djongo
The text was updated successfully, but these errors were encountered: