Skip to content

Commit 7aa49a1

Browse files
committed
feat: Create admin and register polls app
resolved #9 - 관리자 생성 - polls app 관리자 사이트에 등록
1 parent 84cd966 commit 7aa49a1

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

mysite/db.sqlite3

0 Bytes
Binary file not shown.
74 Bytes
Binary file not shown.

mysite/polls/admin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
from django.contrib import admin
2+
from .models import Question
23

3-
# Register your models here.
4+
admin.site.register(Question)

0 commit comments

Comments
 (0)