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
Cannot delete broken tree. #69
Comments
Current hack around incase anyone else needs to do this:
|
Please always add the Django version you are using. |
django==1.10.6 |
Had the same issue which I could fix with the above
Django==1.11.6 |
@jhrr hi there did you manage to fix the KeyError? I'm getting the same error when invoking |
@mhoonjeon sorry I didn't, I can't quite remember how I worked around it but I never got any further with the |
There is a whole new implementation of |
Sometimes one cannot succeed in running
fix_tree(destructive=True)
and resorts instead to usingobjects.all().delete()
to start fresh. But it seems that is not always possible if the tree is broken:There should be a guaranteed programmatic way to reset the table state even if the tree paths are broken.
The text was updated successfully, but these errors were encountered: