Django+xadmin ImportError: No module named 'future'

Table of Contents

Django+xadmin ImportError: No module named 'future'

没有导入future这个module

      1.  INSTALLED_APPS = [

  2.     'django.contrib.admin',

  3.     'django.contrib.auth',

  4.     'django.contrib.contenttypes',

  5.     'django.contrib.sessions',

  6.     'django.contrib.messages',

  7.     'django.contrib.staticfiles',

  8.     'users',

  9.     'courses',

  10.     'operation',

  11.     'organization',

  12.     'xadmin',

  13.     'crispy_forms'

  14. ]

说白了就是没安装future

执行一下安装命令即可

pip install python-future





或者


pip install django-import-export

0 评论

发表评论

精品游戏◆乐于分享


Title