Forums

Django admin throws a Type error

My Django admin works on my local machine. However, in python anywhere I get TypeError at /admin/login/. Expected are, bytes or is.PathLike object, not tuple. Anyone have any thoughts on this?

That sounds like you're either running a different version of Django or a different version of Python. Check both.