wagtailtrans icon indicating copy to clipboard operation
wagtailtrans copied to clipboard

Allow removal of language

Open mikedingjan opened this issue 8 years ago • 2 comments

Issue summary

At the moment when in synced mode, removal of pages isn't allowed, therefore the language can't be removed either, since it's protected by a models.PROTECT foreignkey. The user should get a clear warning that all his pages are going to be removed as well, this should also be handled before removing the language (perhaps by a pre_delete signal).

How to reproduce?

Go to settings > languages and remove a language, at the moment this gives a foreignkey constraint error.

mikedingjan avatar Oct 07 '16 19:10 mikedingjan

Also when removing remove the the corresponding roles created too.

mevinbabuc avatar Nov 09 '16 14:11 mevinbabuc

started in pr #100

Henk-JanVanHasselaar avatar Jul 27 '18 07:07 Henk-JanVanHasselaar