From a1b13a59f5fafe48312cf768b217f8ee0b6a5a8d Mon Sep 17 00:00:00 2001 From: pwhipp Date: Fri, 31 Oct 2014 11:56:02 +1000 Subject: [PATCH] Added administration for all model objects (allows creation of new authors etc.) (#2) --- docmeta/admin.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docmeta/admin.py b/docmeta/admin.py index deb9cf0..5ec26cc 100644 --- a/docmeta/admin.py +++ b/docmeta/admin.py @@ -60,4 +60,8 @@ def save_model(self, request, document, form, change): admin.site.register(dm.Document, DocumentAdmin) admin.site.register(dm.BibTexEntryType, admin.ModelAdmin) -admin.site.register(dm.CCCSEntryType, admin.ModelAdmin) \ No newline at end of file +admin.site.register(dm.CCCSEntryType, admin.ModelAdmin) +admin.site.register(dm.Url, admin.ModelAdmin) +admin.site.register(dm.FileName, admin.ModelAdmin) +admin.site.register(dm.Author, admin.ModelAdmin) +admin.site.register(dm.Editor, admin.ModelAdmin) \ No newline at end of file