diff options
Diffstat (limited to 'app/unused_apps/prompts/admin.py')
-rw-r--r-- | app/unused_apps/prompts/admin.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/app/unused_apps/prompts/admin.py b/app/unused_apps/prompts/admin.py deleted file mode 100644 index f12c904..0000000 --- a/app/unused_apps/prompts/admin.py +++ /dev/null @@ -1,30 +0,0 @@ -from django.contrib import admin - -from utils.widgets import LGEntryForm -from .models import Prompt - - -@admin.register(Prompt) -class PromptAdmin(admin.ModelAdmin): - form = LGEntryForm - prepopulated_fields = {"slug": ('title',)} - list_display = ('title', 'source', 'prompt_type') - list_filter = ('source', 'prompt_type') - fieldsets = ( - ('Prompt', { - 'fields': ( - 'title', - 'subtitle', - 'body_markdown', - ('pub_date', 'prompt_type'), - ('slug','source'), - 'meta_description' - ), - 'classes': ( - 'show', - 'extrapretty', - 'wide' - ) - } - ), - ) |