M
M
MaBa20142020-12-09 18:07:36
Django
MaBa2014, 2020-12-09 18:07:36

How to fix "argument 1 must be str, not PosixPath" error in Python?

I wrote a "site", you need to upload it to the hosting, on pythonanywhere, it gives an error: TypeError at /admin/login/argument 1 must be str, not PosixPath

Despite the fact that there was no such problem on LAN5fd0e8094bfb5530613802.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-12-09
@MaBa2014

Most likely different versions of django, well, always show the full traceback so that we don’t guess, and with text, not with a picture.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question