diff options
Diffstat (limited to 'app/gtd')
-rw-r--r-- | app/gtd/admin.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/gtd/admin.py b/app/gtd/admin.py index 7335727..49520f2 100644 --- a/app/gtd/admin.py +++ b/app/gtd/admin.py @@ -5,7 +5,9 @@ from utils.widgets import AdminImageWidget, LGEntryForm from .models import ( WiredNote, WiredPost, - WiredUpdate + WiredUpdate, + GTDNote, + GTDProject ) @admin.register(WiredPost) class WiredPostAdmin(admin.ModelAdmin): @@ -22,3 +24,8 @@ class WiredPostAdmin(admin.ModelAdmin): class WiredUpdateAdmin(admin.ModelAdmin): list_display = ('name', 'date') + +@admin.register(GTDNote) +class GTDNoteAdmin(admin.ModelAdmin): + list_display = ('title', 'project','url', 'note_type' ) + list_filter = ['project', 'note_type'] |