Forums

Various errors when accessing the website

Hello,

I have some difficulties when trying to put my website online. I followed the given tutorial but I can't access the website. The error log contains 2 errors :

1) Error running WSGI application, django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No module named 'psycopg2 I don't understand how I am supposed to fix this because I already installed psycopg2 in my virtual environment.

2) Error running WSGI application, ValueError: The ADMINS setting must be a list of 2-tuples. Again I don't know how to fix this. I have put under comment the ADMINS lines from my settings file, imported the changes on Github and Pythonanywhere but I still get the errors even though the lines are commented and should not raise an error anymore.

Can you help me fix this ?

Thanks in advance !

I don't know why but the error resolve itself without I do anything

I think this might due to the fact I didn't reload the app if it can help someone

Cool. Glad you fixed it.