Add alpha stage disclaimer in the disclaimer

This commit is contained in:
Alexandre Aubin 2020-06-06 03:33:38 +02:00
parent 643de7cf5f
commit b57cfaac92

View file

@ -138,6 +138,8 @@ class MyMigration(Migration):
message = m18n.n("migration_0015_general_warning") message = m18n.n("migration_0015_general_warning")
message = "THIS MIGRATION IS CURRENTLY IN ALPHA-STAGE TESTING. YOU SHOULD *NOT* RUN IT FOR NOW ON A PRODUCTION SERVER UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING OR HAVE A WAY TO ROLLBACK. MORE INFO ON THE FORUM!\n\n" + message
if problematic_apps: if problematic_apps:
message += "\n\n" + m18n.n("migration_0015_problematic_apps_warning", problematic_apps=problematic_apps) message += "\n\n" + m18n.n("migration_0015_problematic_apps_warning", problematic_apps=problematic_apps)