user preference fixes and improvements

This commit is contained in:
vabene1111
2020-05-02 14:41:54 +02:00
parent 349b9629f8
commit 4620c78f5a
6 changed files with 52 additions and 34 deletions

View File

@ -3,7 +3,7 @@ from .models import *
class UserPreferenceAdmin(admin.ModelAdmin):
list_display = ('name', 'theme', 'nav_color')
list_display = ('name', 'theme', 'nav_color', 'default_page', 'search_style')
@staticmethod
def name(obj):