from django.contrib import admin
from .models import Voter

@admin.register(Voter)
class VoterAdmin(admin.ModelAdmin):
    list_display = ('voter_hash', 'ip_address', 'created_at')
    readonly_fields = ('voter_hash', 'user', 'ip_address')