1
0
Fork 0

unregister social admin views

This commit is contained in:
d42 2018-10-10 21:18:25 +02:00
parent 9577c2d27d
commit 5fa30b7e3a
1 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,7 @@ from django.contrib import admin
from django_select2.forms import ModelSelect2Widget, Select2MultipleWidget from django_select2.forms import ModelSelect2Widget, Select2MultipleWidget
from .models import Item, ItemImage, Category, Label from .models import Item, ItemImage, Category, Label
from .widgets import ItemSelectWidget, PropsSelectWidget from .widgets import ItemSelectWidget, PropsSelectWidget
@ -91,3 +92,8 @@ User.add_to_class('get_full_name', User.get_username)
admin.site.unregister(User) admin.site.unregister(User)
admin.site.unregister(Group) admin.site.unregister(Group)
from social_django.admin import UserSocialAuth, Nonce, Association
admin.site.unregister(UserSocialAuth)
admin.site.unregister(Nonce)
admin.site.unregister(Association)