summaryrefslogtreecommitdiff
path: root/app/unused_apps/notes/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/unused_apps/notes/admin.py')
-rw-r--r--app/unused_apps/notes/admin.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/app/unused_apps/notes/admin.py b/app/unused_apps/notes/admin.py
deleted file mode 100644
index eafd0dc..0000000
--- a/app/unused_apps/notes/admin.py
+++ /dev/null
@@ -1,28 +0,0 @@
-from django.contrib import admin
-from notes.models import Note
-from utils.widgets import LGEntryForm, OLAdminBase
-
-
-@admin.register(Note)
-class NoteAdmin(OLAdminBase):
- form = LGEntryForm
- prepopulated_fields = {"slug": ('title',)}
- list_display = ('slug', 'pub_date')
- fieldsets = (
- ('Note', {
- 'fields': (
- ('title', 'slug'),
- 'body_markdown',
- 'pub_date',
- ),
- 'classes': (
- 'show',
- 'extrapretty',
- 'wide'
- )
- }
- ),
- )
-
- class Media:
- js = ('image-loader.js', 'next-prev-links.js')