Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow removal of language #10

Open
mikedingjan opened this issue Oct 7, 2016 · 2 comments
Open

Allow removal of language #10

mikedingjan opened this issue Oct 7, 2016 · 2 comments
Milestone

Comments

@mikedingjan
Copy link
Member

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.

@mevinbabuc
Copy link

Also when removing remove the the corresponding roles created too.

@jjanssen jjanssen added this to the 0.2 milestone Feb 24, 2017
@jjanssen jjanssen modified the milestones: 0.1.6, 0.2 Aug 27, 2017
@Henk-JanVanHasselaar
Copy link
Contributor

started in pr #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants