skip to Main Content

Redis – Psycopg2 Error When Running Django Via Serverless

File "/var/task/django/db/backends/postgresql/base.py", line 29, in raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: libpq.so.5: cannot open shared object file: No such file or directory I'm receiving the following error after deploying a Django application via…

VIEW QUESTION

Gunicorn cant find the static files – Nginx

By using gunicorn without nginx from digitalcloud tutorial my server is runing and on the console is not found: /static/style.css settings.py STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static/') I already tried to collectstatic do urlpatterns += staticfiles_urlpatterns() in urls.py file…

VIEW QUESTION
Back To Top
Search