2018-03-01 20:32:02 +00:00
|
|
|
from __future__ import absolute_import, print_function, unicode_literals
|
|
|
|
|
2016-12-08 03:50:48 +00:00
|
|
|
from django.contrib import admin
|
|
|
|
from .models import DBFile
|
|
|
|
|
2016-12-09 15:07:16 +00:00
|
|
|
|
|
|
|
class DBFileAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ('name', 'content_type')
|
|
|
|
|
|
|
|
admin.site.register(DBFile, DBFileAdmin)
|