This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
from import_export.admin import ImportExportModelAdmin
|
||||||
|
from .models import streamingData
|
||||||
|
|
||||||
|
|
||||||
# Register your models here.
|
# Register your models here.
|
||||||
|
@admin.register(streamingData)
|
||||||
|
class streamingAdmin(ImportExportModelAdmin):
|
||||||
|
list_display = [field.name for field in streamingData._meta.fields if field.name != 'id']
|
||||||
Reference in New Issue
Block a user