2👍
An error in your URL file can give that error message, due to the way things are imported.
In the example you posted, you’re missing a closing brace at the end. If that’s just from copying and pasting, try commenting each line out, then re-introducing them in turn to find which one is causing the problem.
- [Answered ]-Redis for Django-application
- [Answered ]-Django python manage.py collectstatic UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 32: ordinal not in range(128)
- [Answered ]-Django Debug Toolbar Causes Loss of Static Files
Source:stackexchange.com