summaryrefslogtreecommitdiffstats
path: root/module/web/pyload/admin.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-12-16 22:49:20 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-12-16 22:49:20 +0100
commit3db583f5f10a72e53ecd8d282ec5db1e3f4cd4dd (patch)
tree149a4e9f9dc4a5ffe8090133d1cfcf2013f64ea1 /module/web/pyload/admin.py
parentnew images (diff)
downloadpyload-3db583f5f10a72e53ecd8d282ec5db1e3f4cd4dd.tar.xz
Webinterface authsystem
Diffstat (limited to 'module/web/pyload/admin.py')
-rw-r--r--module/web/pyload/admin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/pyload/admin.py b/module/web/pyload/admin.py
index 11f325200..99cb28836 100644
--- a/module/web/pyload/admin.py
+++ b/module/web/pyload/admin.py
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
from django.contrib import admin
-from models import UserProfile
+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 = UserProfile
+ model = Prefs
class UserAdmin(RealUserAdmin):
inlines = [ UserProfileInline ]