3
3
from bashoneliners.main.models import HackerProfile, OneLiner, Question, Answer
5
6
class OneLinerAdmin(admin.ModelAdmin):
6
7
list_display = ('user', 'is_published', 'was_tweeted', 'summary', 'created_dt',)
8
10
class QuestionAdmin(admin.ModelAdmin):
9
11
list_display = ('user', 'is_published', 'is_answered', 'summary', 'created_dt',)
11
14
class HackerProfileAdmin(admin.ModelAdmin):
12
15
list_display = ('get_username', 'get_email', 'get_date_joined', 'display_name', 'twitter_name',)