You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Postgresql as database in my django project. I am using materialised views also using django-pgviews which is django module for using materialised views in django.
To refreshing materialised views I use command below
python manage.py sync_pgviews
But now I am using multidb in my django project. Which is easily manageable like
python manage.py migrate # This will apply sql to default database
python manage.py migrate --database=tableau # This will apply sql to tableau database
I was expecting --database=tableau option to work with python manage.py sync_pgviews also. But this does not work.
python manage.py sync_pgviews # refresh default db views
python manage.py sync_pgviews --database=tableau # This does not work
How can I refresh materialised view of other database using django using manage.py?
The text was updated successfully, but these errors were encountered:
I am using Postgresql as database in my django project. I am using materialised views also using django-pgviews which is django module for using materialised views in django.
To refreshing materialised views I use command below
But now I am using multidb in my django project. Which is easily manageable like
I was expecting
--database=tableau
option to work withpython manage.py sync_pgviews
also. But this does not work.How can I refresh materialised view of other database using django using manage.py?
The text was updated successfully, but these errors were encountered: