from django.contrib import admin
from django.contrib.auth.models import User
from reversion.admin import VersionAdmin
@admin.register(User)
class UserModelAdmin(VersionAdmin):
pass
And i got error in terminal :
django.contrib.admin.sites.AlreadyRegistered: The model User is already registered
How I can fix it and rebuild to use django-reversion-compare?
--
You received this message because you are subscribed to the Google Groups "django-reversion discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-reversion+unsubscribe@googlegroups.com.
To post to this group, send email to django-reversion@googlegroups.com.
Visit this group at https://groups.google.com/group/django-reversion.
For more options, visit https://groups.google.com/d/optout.