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

admin.site.register(Poll)

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

class PollAdmin(admin.ModelAdmin):
      fields = ['pub_date','question']

admin.site.register(Poll, PollAdmin)

Customize the admin form -- Re-ordered the fields on the edit form. 'Publication date' come before the 'Question' field