mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Add validation details to the Admin interface
This commit is contained in:
@@ -5,8 +5,8 @@ from reddit.forms import RedditAccountForm
|
||||
from datetime import date
|
||||
|
||||
class RedditAccountAdmin(admin.ModelAdmin):
|
||||
list_display = ('username', 'user', 'date_created', 'link_karma', 'comment_karma', 'last_update', 'is_valid')
|
||||
search_fields = ['username', 'user']
|
||||
list_display = ('username', 'user', 'date_created', 'link_karma', 'comment_karma', 'last_update', 'validated', 'is_valid')
|
||||
search_fields = ['username']
|
||||
|
||||
fields = ('user', 'username')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user