danirus / django-comments-xtd

A pluggable Django comments application with thread support, follow-up notifications, mail confirmation, like/dislike flags, moderation, a ReactJS plugin and Bootstrap 5.3.
https://django-comments-xtd.readthedocs.io
BSD 2-Clause "Simplified" License
594 stars 157 forks source link

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

Open ghost opened 5 years ago

ghost commented 5 years ago

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

danirus commented 4 years ago

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.