安装方法
复制 xadmin 目录到你的项目
pip install httplib2 django-formtools django-crispy-forms
# setting.py
INSTALLED_APPS = [
...,
'xadmin',
'crispy_forms',
]
# urls.py
import xadmin
urlpatterns = [
url(r'^admin/', xadmin.site.urls)
]
复制 xadmin 目录到你的项目
pip install httplib2 django-formtools django-crispy-forms
# setting.py
INSTALLED_APPS = [
...,
'xadmin',
'crispy_forms',
]
# urls.py
import xadmin
urlpatterns = [
url(r'^admin/', xadmin.site.urls)
]