from django.contrib import admin
from .models import Message


class MessageAdmin(admin.ModelAdmin):
    list_display = (
        'pk',
        'status',
        'name',
        'subject',
        'content',
        'email',
        'phone',
    )
    list_editable = (
        'status',
    )


admin.site.register(Message, MessageAdmin)

bd57ecdb8e25ac0585306cf61a05efdbc302bdae
<mask token>

<mask token>


class MessageAdmin(admin.ModelAdmin):
    list_display = ('pk', 'status', 'name', 'subject', 'content', 'email',
        'phone')
    list_editable = 'status',


<mask token>

<mask token>


class MessageAdmin(admin.ModelAdmin):
    list_display = ('pk', 'status', 'name', 'subject', 'content', 'email',
        'phone')
    list_editable = 'status',


admin.site.register(Message, MessageAdmin)

from django.contrib import admin
from .models import Message


class MessageAdmin(admin.ModelAdmin):
    list_display = ('pk', 'status', 'name', 'subject', 'content', 'email',
        'phone')
    list_editable = 'status',


admin.site.register(Message, MessageAdmin)

from django.contrib import admin
from .models import Message


class MessageAdmin(admin.ModelAdmin):
    list_display = (
        'pk',
        'status',
        'name',
        'subject',
        'content',
        'email',
        'phone',
    )
    list_editable = (
        'status',
    )


admin.site.register(Message, MessageAdmin)
