mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 23:21:18 +00:00
feat: add the new reminders app
This commit is contained in:
20
src/reminders/admin.py
Normal file
20
src/reminders/admin.py
Normal 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)
|
||||
Reference in New Issue
Block a user