summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authord42 <d42@users.noreply.github.com>2018-10-10 21:18:25 +0200
committerd42 <d42@users.noreply.github.com>2018-10-10 21:18:25 +0200
commit5fa30b7e3aafb8c8b8da351f47608f182c8376b7 (patch)
tree598c0465bd589187d4ada4d66fe214f33fd903e0
parent9577c2d27d7ebb4794f056b36be928b81a6890eb (diff)
downloadspejstore-5fa30b7e3aafb8c8b8da351f47608f182c8376b7.tar.gz
spejstore-5fa30b7e3aafb8c8b8da351f47608f182c8376b7.tar.bz2
spejstore-5fa30b7e3aafb8c8b8da351f47608f182c8376b7.zip
unregister social admin views
-rw-r--r--storage/admin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/admin.py b/storage/admin.py
index 29098a4..144d32c 100644
--- a/storage/admin.py
+++ b/storage/admin.py
@@ -3,6 +3,7 @@ from django.contrib import admin
from django_select2.forms import ModelSelect2Widget, Select2MultipleWidget
+
from .models import Item, ItemImage, Category, Label
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(Group)
+
+from social_django.admin import UserSocialAuth, Nonce, Association
+admin.site.unregister(UserSocialAuth)
+admin.site.unregister(Nonce)
+admin.site.unregister(Association)