From: Arthur Darcet Date: Tue, 5 Feb 2013 17:17:25 +0000 (+0100) Subject: Remove django.contrib.auth.models.Group from the admin site X-Git-Url: http://git.polytechnique.org/?p=xnet;a=commitdiff_plain;h=9c2f24b0d98e75d55f7b8acab88215fadf80f92d Remove django.contrib.auth.models.Group from the admin site --- diff --git a/xnet/accounts/admin.py b/xnet/accounts/admin.py index 3023220..41cf797 100644 --- a/xnet/accounts/admin.py +++ b/xnet/accounts/admin.py @@ -26,3 +26,4 @@ class MembershipAdmin(admin.ModelAdmin): + ['offer__{0}'.format(field) for field in AccountAdmin.search_fields]) admin.site.register(models.Membership, MembershipAdmin) +admin.site.unregister(auth_admin.Group)