added comment setting to user pref admin table
This commit is contained in:
parent
8cd94d49e8
commit
d5e0a0a623
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user