I have a big Django application that is actively used by internet users. I am trying to add django-modeltranslation to one of my apps. In development everything works alright with the following procedure:
python manage.py schemamigration myapp --auto
python manage.py migrate myapp
python manage.py update_translation_fields
The problem I have is between item 3 and 4. If I run the migration on production, then the translated model would show no content to the user (I can't have a downtime) until I run number 4, which could take some time to finish.
I would like to know if there is a way to fallback a translation to the original content of the field without translation. This fallbacks to another translation fallback and this access the original field original. But I need the model field to default to the original field value if the translation is not present.
Thank you
Verify everything works in staging.
Then either:
a. Point the network configuration to staging, configure production at your leisure and reconfigure the network back (0 downtime).
b. Update the production environment on live with the required packages and copy the database from staging environment into production (minimal downtime).