summaryrefslogtreecommitdiff
path: root/app/notes/admin.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2017-12-14 19:58:07 -0800
committerluxagraf <sng@luxagraf.net>2017-12-14 19:58:07 -0800
commitc903be495237125906e95e2d5fcb9f17df09327c (patch)
tree27173dad151e2c09105bd1c1b64f9d04210f8d8e /app/notes/admin.py
parent83b7318a4672d32ed77cd3f906f43f5ad1cce854 (diff)
cleaned up notes, archived old apps, moved checkins to locations app
where it should have been from the beginning
Diffstat (limited to 'app/notes/admin.py')
-rw-r--r--app/notes/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notes/admin.py b/app/notes/admin.py
index 62a7539..3d1d593 100644
--- a/app/notes/admin.py
+++ b/app/notes/admin.py
@@ -5,7 +5,7 @@ from notes.models import Note, LuxNote
from utils.widgets import LGEntryForm, OLAdminBase
-@register(LuxNote)
+@admin.register(LuxNote)
class LuxNoteAdmin(OLAdminBase):
prepopulated_fields = {"slug": ('title',)}
list_display = ('slug', 'pub_date', 'location')