pasteque/paste/admin.py

9 lines
188 B
Python
Raw Normal View History

2018-05-11 21:20:10 +00:00
from django.contrib import admin
from .models import Paste
2020-05-31 13:33:59 +00:00
2018-05-13 10:18:31 +00:00
@admin.register(Paste)
class PasteAdmin(admin.ModelAdmin):
2023-04-21 13:08:33 +00:00
list_display = ("paste_time", "filename", "slug", "viewcount")