sandbox/django/mysite/polls/admin.py

5 lines
128 B
Python
Raw Normal View History

2018-05-06 23:47:59 +00:00
from django.contrib import admin
from .models import Question, Choice
admin.site.register(Question)
admin.site.register(Choice)