1👍
✅
Which authentication/database backend are you using?
The lookup_cast()
method was changed in Django 1.8 to:
def lookup_cast(self, lookup_type, internal_type=None)
from:
def lookup_cast(self, lookup_type)
If you are using a backend designed for 1.7 or earlier it might be possible that it could be called according to the new method signature (3 args: self plus 2 args), but the backend still expects 2 args (self plus 1 arg).
Perhaps you need to check if there is an update available for your backend.
Source:stackexchange.com