[Python] Sync local and remote database

Discussão em 'Python' iniciado por Stack, Abril 13, 2025.

  1. Stack

    Stack Membro Participativo

    I have finished writing this inventory project in Django it includes a sales app I intend on having 2 version of the project one on local machine the other uploaded to Heroku. In a situation were network won't be available (most time there is none) I want to use the offline version to print invoice and make sale.

    Later when the network kicks in I can sync it to the remote database to match the local database. I've read Django sync-tool didn't get it that much I also read Django multi database in the doc but I guess that is not suitable for what I intend to do. I also read django-replicated but seems to be MySQL driven as I currently run my project using Postgres.

    I am running Django 2.1, Python 3.6.

    Continue reading...

Compartilhe esta Página