django-comments-xtd icon indicating copy to clipboard operation
django-comments-xtd copied to clipboard

in the tutorial: can't load fixtures: UNIQUE constraint failed

Open ghost opened this issue 7 years ago • 1 comments

It seems to be a bug in the tutorial: when loading the fixtures (as indicated in https://django-comments-xtd.readthedocs.io/en/latest/tutorial.html#preparation), this step sends an error:

django.db.utils.IntegrityError: Problem installing fixture '/home/thephi/workspace/django-comments-xtd-tutorial/tutorial/fixtures/auth.json': Could not load auth.Permission(pk=4): UNIQUE constraint failed: auth_permission.content_type_id, auth_permission.codename

ghost avatar Nov 28 '18 14:11 ghost

I can't reproduce this bug. I marked it as a bug long ago, so I was able to reproduce it. Maybe it got fixed already as a side effect of other fixes.

danirus avatar Oct 11 '20 12:10 danirus