from django.contrib import admin
from polls.models import Question

admin.site.register(Question)

from django.contrib import admin
from polls.models import Question


class QuestionAdmin(admin.ModelAdmin):
        fields = ['pub_date', 'question_text']

admin.site.register(Question)

Customize the poll admin form