# -*- coding: utf-8 -*-
from django.contrib import admin

from .models import Ticket


class TicketAdmin(admin.ModelAdmin):
    list_display = ['name', 'display_name', 'created', 'updated', 'is_active', 'is_paid', 'twid']
    list_editable = ['created', 'updated', 'is_active', 'is_paid']
    ordering = ['-updated']
admin.site.register(Ticket, TicketAdmin)

# -*- coding: utf-8 -*-
from django.contrib import admin

from .models import Ticket


class TicketAdmin(admin.ModelAdmin):
    list_display = ['name', 'display_name', 'created', 'updated', 'streak', 'is_active', 'is_paid', 'twid']
    list_editable = ['is_active', 'is_paid']
    ordering = ['-updated']
admin.site.register(Ticket, TicketAdmin)

Add streak to list_display, remove created and updated from list_editable.
Add streak to list_display, remove created and updated from list_editable.
