mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
9 lines
317 B
Python
9 lines
317 B
Python
from django.contrib import admin
|
|
from reddit.models import RedditAccount
|
|
|
|
class RedditAccountAdmin(admin.ModelAdmin):
|
|
list_display = ('username', 'user', 'date_created', 'link_karma', 'comment_karma', 'last_update')
|
|
search_fields = ['username', 'user']
|
|
|
|
admin.site.register(RedditAccount, RedditAccountAdmin)
|