from django.contrib import admin
from question.models import Voter, Question, Vote

@admin.register(Voter)
class VoterAdmin(admin.ModelAdmin):
	list_display = ('first_name', 'last_name', 'date_of_birth', 'email_adress')

	
@admin.register(Question)
class QuestionAdmin(admin.ModelAdmin):
	list_display = ('id','question_text')

@admin.register(Vote)
class VoteAdmin(admin.ModelAdmin):
	list_display = ('voter' ,'question_text', 'choice', 'pub_date')
	

76e47f5c70db1d8fb2edd46681372298babbf513
<mask token>


@admin.register(Question)
class QuestionAdmin(admin.ModelAdmin):
    list_display = 'id', 'question_text'


@admin.register(Vote)
class VoteAdmin(admin.ModelAdmin):
    list_display = 'voter', 'question_text', 'choice', 'pub_date'

<mask token>


@admin.register(Voter)
class VoterAdmin(admin.ModelAdmin):
    <mask token>


@admin.register(Question)
class QuestionAdmin(admin.ModelAdmin):
    list_display = 'id', 'question_text'


@admin.register(Vote)
class VoteAdmin(admin.ModelAdmin):
    list_display = 'voter', 'question_text', 'choice', 'pub_date'

<mask token>


@admin.register(Voter)
class VoterAdmin(admin.ModelAdmin):
    list_display = 'first_name', 'last_name', 'date_of_birth', 'email_adress'


@admin.register(Question)
class QuestionAdmin(admin.ModelAdmin):
    list_display = 'id', 'question_text'


@admin.register(Vote)
class VoteAdmin(admin.ModelAdmin):
    list_display = 'voter', 'question_text', 'choice', 'pub_date'

from django.contrib import admin
from question.models import Voter, Question, Vote


@admin.register(Voter)
class VoterAdmin(admin.ModelAdmin):
    list_display = 'first_name', 'last_name', 'date_of_birth', 'email_adress'


@admin.register(Question)
class QuestionAdmin(admin.ModelAdmin):
    list_display = 'id', 'question_text'


@admin.register(Vote)
class VoteAdmin(admin.ModelAdmin):
    list_display = 'voter', 'question_text', 'choice', 'pub_date'

from django.contrib import admin
from question.models import Voter, Question, Vote

@admin.register(Voter)
class VoterAdmin(admin.ModelAdmin):
	list_display = ('first_name', 'last_name', 'date_of_birth', 'email_adress')

	
@admin.register(Question)
class QuestionAdmin(admin.ModelAdmin):
	list_display = ('id','question_text')

@admin.register(Vote)
class VoteAdmin(admin.ModelAdmin):
	list_display = ('voter' ,'question_text', 'choice', 'pub_date')
	
