S
S
siarheisiarhei2020-02-15 10:42:39
PostgreSQL
siarheisiarhei, 2020-02-15 10:42:39

Local site editing (django_heroku)?

Good afternoon. And, maybe someone in the know: local editing of the site-django-heroku with connection ('ENGINE': 'django.db.backends.postgresql_psycopg2')
yes, somehow I tried everything, but it doesn’t work out ... the simplest solution is
to add the address itself as such
import dj_database_url
DATABASES['default'] = dj_database_url.config(default='postgres://

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question