Error 500, I can't connect my database
Hi there, I struggled deploying my site, I have some bugs like this:
- psycopg2.OperationalError: connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused 011Is the server running on that host and accepting TCP/IP connections?
- ValueError: Missing staticfiles manifest entry for 'assets/images/favicon.ico'
I think the worst bug is the first one, because I can't connect my database, I don't get it why, I just replaced the info from my "databases" section to my settings.py file; that is the only database I'm working on.
DATABASES ={ 'default': { 'ENGINE':'django.db.backends.postgresql', 'NAME': I replace here, 'USER': I replace here, 'PASSWORD':' I replace here', 'HOST': I replace here, 'PORT': I replace here } }
Could you tell me how I can fix it?