admin.py 247 B

12345678910111213
  1. from django.contrib import admin
  2. from .models import FileBlob, File
  3. class FileBlobAdmin(admin.ModelAdmin):
  4. pass
  5. class FileAdmin(admin.ModelAdmin):
  6. pass
  7. admin.site.register(FileBlob, FileBlobAdmin)
  8. admin.site.register(File, FileAdmin)