Y
Y
Yakov Feldman2017-12-18 14:11:29
PostgreSQL
Yakov Feldman, 2017-12-18 14:11:29

What to do with fields specific to Postgre if it is only in the cloud and local debugging goes to Sqlite?

I want to add fields

from django.contrib.postgres.fields import ArrayField

Fortunately, Postgre is installed in the cloud on Heroku - but SQLite is installed locally and objects to such fields - it is
ready to ignore these fields locally - but how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kitaev, 2017-12-18
@jfeldman

No way. Install postgry locally.
And ArrayField is not the worst thing you will encounter when developing on one database and deploying to another.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question