# (c) cavaliba.com - sirene - admin.py

from django.contrib import admin

from .models import SMSJournal

# ------------------------------------------------------
# SMS Journal
# ------------------------------------------------------


@admin.register(SMSJournal)
class SMSJournalAdmin(admin.ModelAdmin):
    save_on_top = False
    list_display = ("created_at", "created_by", "mobile", "quota", "id")
    #    list_filter = ('site', "name","is_enabled")
    #    search_fields = ['name', 'amount','status']
    ordering = ["-created_at"]
