added comment setting to user pref admin table

This commit is contained in:
vabene1111 2020-06-16 12:45:46 +02:00
parent 8cd94d49e8
commit d5e0a0a623

View File

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