sandbox/django/mysite/polls/admin.py

5 lines
128 B
Python

from django.contrib import admin
from .models import Question, Choice
admin.site.register(Question)
admin.site.register(Choice)