summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--storage/admin.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/admin.py b/storage/admin.py
index 13c297a..8fb7ab5 100644
--- a/storage/admin.py
+++ b/storage/admin.py
@@ -76,5 +76,8 @@ admin.site.register(Category)
from django.contrib.auth.models import User
from django.contrib.auth.models import Group
+User.add_to_class('get_short_name', User.get_username)
+User.add_to_class('get_full_name', User.get_username)
+
admin.site.unregister(User)
admin.site.unregister(Group)