from django.contrib import admin

from rtwilio.models import TwilioResponse


class TwilioResponseAdmin(admin.ModelAdmin):
    list_display = ('message', 'date', 'sender', 'recipient',
                    'sent')
    ordering = ('-date',)
    list_filter = ('date',)

    def sent(self, response):
        return response.status == 'sent'
    sent.boolean = True

admin.site.register(TwilioResponse, TwilioResponseAdmin)

1faccf75bcdf56edc44ccdfbc7bdf6ccf8f76259
<mask token>


class TwilioResponseAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>

    def sent(self, response):
        return response.status == 'sent'
    <mask token>


<mask token>

<mask token>


class TwilioResponseAdmin(admin.ModelAdmin):
    list_display = 'message', 'date', 'sender', 'recipient', 'sent'
    ordering = '-date',
    list_filter = 'date',

    def sent(self, response):
        return response.status == 'sent'
    sent.boolean = True


<mask token>

<mask token>


class TwilioResponseAdmin(admin.ModelAdmin):
    list_display = 'message', 'date', 'sender', 'recipient', 'sent'
    ordering = '-date',
    list_filter = 'date',

    def sent(self, response):
        return response.status == 'sent'
    sent.boolean = True


admin.site.register(TwilioResponse, TwilioResponseAdmin)

from django.contrib import admin
from rtwilio.models import TwilioResponse


class TwilioResponseAdmin(admin.ModelAdmin):
    list_display = 'message', 'date', 'sender', 'recipient', 'sent'
    ordering = '-date',
    list_filter = 'date',

    def sent(self, response):
        return response.status == 'sent'
    sent.boolean = True


admin.site.register(TwilioResponse, TwilioResponseAdmin)

from django.contrib import admin

from rtwilio.models import TwilioResponse


class TwilioResponseAdmin(admin.ModelAdmin):
    list_display = ('message', 'date', 'sender', 'recipient',
                    'sent')
    ordering = ('-date',)
    list_filter = ('date',)

    def sent(self, response):
        return response.status == 'sent'
    sent.boolean = True

admin.site.register(TwilioResponse, TwilioResponseAdmin)
