admin.py 254 B

12345678910
  1. from django.contrib import admin
  2. from .models import Folder
  3. # Register your models here.
  4. class FolderAdmin(admin.ModelAdmin):
  5. list_display = ["folder_id", "folder_name", "father_folder", "owner", "group"]
  6. admin.site.register(Folder, FolderAdmin)