from django.contrib import admin

# from .models import Attachment
# Register your models here.

# @admin.register(Attachment)
# class FileAdmin(admin.ModelAdmin):
#     list_display = ('uploaded', 'name', 'file')
#     list_per_page = 10
#     search_fields = ('name', 'file__name')
from django.contrib import admin

# from .models import Attachment
# Register your models here.

# @admin.register(Attachment)
# class FileAdmin(admin.ModelAdmin):
#     list_display = ('uploaded', 'name', 'file')
#     list_per_page = 10
#     search_fields = ('name', 'file__name')
# from .models import Attachment # Register your models here. # @admin.register(Attachment) # class FileAdmin(admin.ModelAdmin): #     list_display = ('uploaded', 'name', 'file') #     list_per_page = 10 #     search_fields = ('name', 'file__name')