django-dbfilestorage/dbfilestorage/admin.py
Tyrel Souza 784b66d111 Release 0.1.1 - More testing and cleanup things (#15)
* add more tests (#14)

* add more tests

* add more tests, add admin class, update gitignore

* Add a clean command to setup (#13)
2016-12-09 10:10:13 -05:00

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)