[Fixed]-Django – AttributeError: 'module' object has no attribute 'TEMPLATE_CONTEXT_PROCESSORS'

1πŸ‘

It looks like you did not restart Django in the same virtual environment as before, since the Django version appears to have changed and you are getting import errors for psycopg2.

It sounds like you might be using runserver in production. You should not do this, it’s insecure. The Django docs describe how to deploy Django properly.

πŸ‘€Alasdair

Leave a comment