Actually handle the change to using a Sender model

This commit is contained in:
Daniel Quinn committed 2016-01-15 02:02:47 +00:00
1 parent d1c811555c
commit 2e48036f92
2 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ from .models import Sender, Document
class DocumentAdmin(admin.ModelAdmin):
search_fields = ("sender", "title", "content",)
search_fields = ("sender__name", "title", "content",)
list_display = ("edit", "created", "sender", "title", "pdf")
list_filter = ("created", "sender")
save_on_top = True