summaryrefslogtreecommitdiffstats
path: root/module/web/pyload/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/pyload/admin.py')
-rw-r--r--module/web/pyload/admin.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/module/web/pyload/admin.py b/module/web/pyload/admin.py
deleted file mode 100644
index 99cb28836..000000000
--- a/module/web/pyload/admin.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# -*- coding: utf-8 -*-
-from django.contrib import admin
-from models import Prefs
-from django.contrib.auth.models import User
-from django.contrib.auth.admin import UserAdmin as RealUserAdmin
-
-
-class UserProfileInline(admin.StackedInline):
- model = Prefs
-
-class UserAdmin(RealUserAdmin):
- inlines = [ UserProfileInline ]
-
-admin.site.unregister(User)
-admin.site.register(User, UserAdmin) \ No newline at end of file