from django.contrib import admin
from .models import <modelname>
admin.site.register(<modelname>)
#admin.py
from django.contrib import admin
from .models import Question
admin.site.register(Question)
# in admin.py
from django.contrib import admin
#if you have a model called Post
from .models import Post
admin.site.register(Post)