Django-Learn/djlearn/polls/admin.py

8 lines
159 B
Python

from django.contrib import admin
from .models import Question, Choice
# Register your models here.
admin.site.register(Question)
admin.site.register(Choice)