from django.contrib import admin
from .models import Challenge


class ChallengeAdmin(admin.ModelAdmin):
    list_display = ['client', 'device', 'policy', 'status', 'created_at',
        'expires_at']
    list_filter = ['status', 'created_at']
    search_fields = ['client', 'device']


admin.site.register(Challenge, ChallengeAdmin)

528dc1c67d85a5cb5eed7f1089d20672fe6c8d77
<mask token>

<mask token>


class ChallengeAdmin(admin.ModelAdmin):
    list_display = ['client', 'device', 'policy', 'status', 'created_at',
        'expires_at']
    list_filter = ['status', 'created_at']
    search_fields = ['client', 'device']


<mask token>

<mask token>


class ChallengeAdmin(admin.ModelAdmin):
    list_display = ['client', 'device', 'policy', 'status', 'created_at',
        'expires_at']
    list_filter = ['status', 'created_at']
    search_fields = ['client', 'device']


admin.site.register(Challenge, ChallengeAdmin)

from django.contrib import admin
from .models import Challenge


class ChallengeAdmin(admin.ModelAdmin):
    list_display = ['client', 'device', 'policy', 'status', 'created_at',
        'expires_at']
    list_filter = ['status', 'created_at']
    search_fields = ['client', 'device']


admin.site.register(Challenge, ChallengeAdmin)
