170475e86e
* add more tests * add more tests, add admin class, update gitignore
9 lines
185 B
Python
9 lines
185 B
Python
from django.contrib import admin
|
|
from .models import DBFile
|
|
|
|
|
|
class DBFileAdmin(admin.ModelAdmin):
|
|
list_display = ('name', 'content_type')
|
|
|
|
admin.site.register(DBFile, DBFileAdmin)
|