feat: add the new reminders app

This commit is contained in:
Daniel Quinn
2017-03-25 16:21:46 +00:00
parent 27db4f7e51
commit b876a0d0df
13 changed files with 127 additions and 0 deletions

20
src/reminders/admin.py Normal file
View File

@@ -0,0 +1,20 @@
from django.conf import settings
from django.contrib import admin
from .models import Reminder
class ReminderAdmin(admin.ModelAdmin):
class Media:
css = {
"all": ("paperless.css",)
}
list_per_page = settings.PAPERLESS_LIST_PER_PAGE
list_display = ("date", "document", "note")
list_filter = ("date",)
list_editable = ("note",)
admin.site.register(Reminder, ReminderAdmin)