~chipaca/unity-lens-video/custom-user-agent

« back to all changes in this revision

Viewing changes to main/admin.py

  • Committer: Janos Gyerik
  • Date: 2012-04-03 19:21:24 UTC
  • Revision ID: janos@axiom-20120403192124-ygtt0it0sdltyl1a
pep8 fixes

Show diffs side-by-side

added added

removed removed

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