njpma/app/video/admin.py
2021-10-11 13:55:45 +01:00

17 lines
317 B
Python

from django.contrib import admin
from . import models
@admin.decorators.register(models.Film)
class FilmAdmin(admin.ModelAdmin):
list_display = (
'__str__',
'position',
'slug',
'public',
)
@admin.decorators.register(models.Edit)
class EditAdmin(admin.ModelAdmin):
pass