[django #2] update admin.py
This commit is contained in:
parent
0fa61e4673
commit
5fd4e6fbab
2 changed files with 4 additions and 2 deletions
|
@ -25,7 +25,7 @@ SECRET_KEY = '2kbmvs@pcbxn)kt#p9$)45=h#i8_b7^^l&l57mbe4%e=+k91-d'
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
ALLOWED_HOSTS = [ "[2a0a:e5c1:151::12]" ]
|
||||
|
||||
|
||||
# Application definition
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
from .models import Question
|
||||
|
||||
admin.site.register(Question)
|
||||
|
|
Loading…
Reference in a new issue