我已安装django-datatable
,我想将其添加到INSTALLED_APPS
列表。
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'rest_framework',
'django.contrib.admin',
'table',
)
table
是否正确?如果没有,我应该输入什么?
答案 0 :(得分:1)
查看库中的example / settings.py:
INSTALLED_APPS = (
# ...
'table',
# Uncomment the next line to enable the admin:
# 'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
)
是的,只需添加table
即可。