From 620a91a65773e0d848aa61223196d14354bfd082 Mon Sep 17 00:00:00 2001 From: nathaniel smith Date: Fri, 13 Jan 2017 22:22:28 -0800 Subject: [PATCH] hide vanilla auth stuff --- ttadmin/users/admin.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ttadmin/users/admin.py b/ttadmin/users/admin.py index bbde176..d2f8a49 100644 --- a/ttadmin/users/admin.py +++ b/ttadmin/users/admin.py @@ -1,6 +1,12 @@ from django.contrib import admin +from django.contrib.auth.models import User +from django.contrib.auth.models import Group + from .models import Townie +admin.site.unregister(User) +admin.site.unregister(Group) + @admin.register(Townie) class TownieAdmin(admin.ModelAdmin): pass