summaryrefslogtreecommitdiff
path: root/app/publications/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/publications/admin.py')
-rw-r--r--app/publications/admin.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/app/publications/admin.py b/app/publications/admin.py
index a09e7d5..96a93ec 100644
--- a/app/publications/admin.py
+++ b/app/publications/admin.py
@@ -1,7 +1,7 @@
from django.contrib import admin
from utils.widgets import LGEntryForm
-from .models import Publication, Editor, Pitch, Section
+from .models import Publication, Editor, Pitch, Section, PitchIdea
@admin.register(Publication)
@@ -54,6 +54,18 @@ class PitchAdmin(admin.ModelAdmin):
)
+@admin.register(PitchIdea)
+class PitchIdeaAdmin(admin.ModelAdmin):
+ list_display = ('title', )
+
+ fieldsets = (
+ ('', {
+ 'fields': ('title', 'pitch', 'publication'),
+ 'classes': ('show', 'extrapretty', 'wide')
+ }),
+ )
+
+
@admin.register(Section)
class SectionAdmin(admin.ModelAdmin):
list_display = ('name',)