尝试从django的1.7.4升级到1.8; 但是,当我运行服务器时,我现在得到了

There is no South database module 'south.db.mysql' for your database. Please either choose a supported database, check for SOUTH_DATABASE_ADAPTER[S] settings, or remove South from INSTALLED_APPS.

错误消息,它不起作用。 我的INSTALLED_APPS中没有'South'。 并且不记得在这个项目上曾经使用过南方。 我的所有模型实际上是手动管理的。

我该如何解决?

谢谢

[编辑]你会看到,我有很多“升级”修复,但仍然不明白为什么它在'南'失败,我不使用它。

INSTALLED_APPS = (

'django_admin_bootstrapped',

'django.contrib.admin',

'django.contrib.auth',

'django.contrib.contenttypes',

'django.contrib.sessions',

'django.contrib.messages',

'django.contrib.staticfiles',

'django.contrib.humanize',

'bootstrap3',

'towel',

'email_registration',

'visits',

'django_markdown',

'debug_toolbar',

'LessonApp',

'bootstrap_pagination',

'django_tables2',

'util',

'memcache_admin',

'twitter_feed',

'cec_cms',

'ckeditor',

'filebrowser',

'user_profile',

'eztexting',

'secure_file',

'partboard',

)

追溯:

/usr/local/lib/python2.7/dist-packages/django_tables2/tables.py:171: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.

attrs["base_columns"] = SortedDict(parent_columns)

/usr/local/lib/python2.7/dist-packages/django_tables2/tables.py:193: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.

attrs["base_columns"].update(SortedDict(cols))

/usr/local/lib/python2.7/dist-packages/south/modelsinspector.py:20: RemovedInDjango19Warning: django.contrib.contenttypes.generic is deprecated and will be removed in Django 1.9. Its contents have been moved to the fields, forms, and admin submodules of django.contrib.contenttypes.

from django.contrib.contenttypes import generic

/usr/local/lib/python2.7/dist-packages/django_tables2/tables.py:174: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.

extra = SortedDict()

/home/marc/PycharmProjects/CECLessonApp/ckeditor/widgets.py:10: RemovedInDjango19Warning: The django.forms.util module has been renamed. Use django.forms.utils instead.

from django.forms.util import flatatt

/usr/local/lib/python2.7/dist-packages/memcache_admin/views.py:22: RemovedInDjango19Warning: 'get_cache' is deprecated in favor of 'caches'.

mc_client = get_cache(SETTINGS['CACHE'])._cache

/home/marc/PycharmProjects/CECLessonApp/CECLessonApp/urls.py:18: RemovedInDjango19Warning: Default value of 'RedirectView.permanent' will change from True to False in Django 1.9. Set an explicit value to silence this warning.

url(r'^favicon\.ico$', RedirectView.as_view(url='/static/favicon.ico')),

/usr/local/lib/python2.7/dist-packages/django_tables2/tables.py:171: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.

attrs["base_columns"] = SortedDict(parent_columns)

/usr/local/lib/python2.7/dist-packages/django_tables2/tables.py:193: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.

attrs["base_columns"].update(SortedDict(cols))

/usr/local/lib/python2.7/dist-packages/south/modelsinspector.py:20: RemovedInDjango19Warning: django.contrib.contenttypes.generic is deprecated and will be removed in Django 1.9. Its contents have been moved to the fields, forms, and admin submodules of django.contrib.contenttypes.

from django.contrib.contenttypes import generic

/usr/local/lib/python2.7/dist-packages/django_tables2/tables.py:174: RemovedInDjango19Warning: SortedDict is deprecated and will be removed in Django 1.9.

extra = SortedDict()

/home/marc/PycharmProjects/CECLessonApp/ckeditor/widgets.py:10: RemovedInDjango19Warning: The django.forms.util module has been renamed. Use django.forms.utils instead.

from django.forms.util import flatatt

/usr/local/lib/python2.7/dist-packages/memcache_admin/views.py:22: RemovedInDjango19Warning: 'get_cache' is deprecated in favor of 'caches'.

mc_client = get_cache(SETTINGS['CACHE'])._cache

/home/marc/PycharmProjects/CECLessonApp/CECLessonApp/urls.py:18: RemovedInDjango19Warning: Default value of 'RedirectView.permanent' will change from True to False in Django 1.9. Set an explicit value to silence this warning.

url(r'^favicon\.ico$', RedirectView.as_view(url='/static/favicon.ico')),

Performing system checks...

System check identified some issues:

WARNINGS:

visits.Visit.ip_address: (fields.W900) IPAddressField has been deprecated. Support for it (except in historical migrations) will be removed in Django 1.9.

HINT: Use GenericIPAddressField instead.

System check identified 1 issue (0 silenced).

/usr/local/lib/python2.7/dist-packages/south/db/generic.py:9: RemovedInDjango19Warning: The django.db.backends.util module has been renamed. Use django.db.backends.utils instead.

from django.db.backends.util import truncate_name

There is no South database module 'south.db.mysql' for your database. Please either choose a supported database, check for SOUTH_DATABASE_ADAPTER[S] settings, or remove South from INSTALLED_APPS

django 1.8 mysql_mysql - 升级1.7.4到django 1.8 south.db.mysql错误,不使用南 - 堆栈内存溢出...相关推荐

  1. python中与six有关的whl_pandas - 在升级numpy,six和python-dateutil时,无法使用pip来安装pandas - 堆栈内存溢出...

    在升级numpy和pytho-dateutil我无法使用pip来安装pandas . 经过几次尝试,我认为问题在于pip默认安装路径. 如何解决此问题并成功安装pandas ? Python 2.7已 ...

  2. python升级命令出现错误_python - _tkinter.TclError:无法调用“ update”命令:应用程序已被破坏错误 - 堆栈内存溢出...

    我同意其他人的看法,您应该在这里使用mainloop() ,但是,如果您想保留原始代码的方式是跟踪布尔值, while x == True . 这样,我们可以将x的值更新为False ,这样就可以避免 ...

  3. Django从1.8升级到2.0注意事项

    2019独角兽企业重金招聘Python工程师标准>>> 我公司从2015年开发自动化部署平台,当时选用的开发框架是Django1.8版本.这两年多来,基于其上,很好的满足了我们的开发 ...

  4. django前后端结合_一图看懂Django和DRF

    一个总结 Django和DRF用了很久了,一直没有认真的总结一下,没什么总结比一张框图更暴力了.最近根据使用经验画了几张图,下面这两张图分别是Django的框图和Django REST Framwor ...

  5. 基于Ubuntu Server 16.04 LTS版本安装和部署Django之(一):安装Python3-pip和Django

    近期开始学习基于Linux平台的Django开发,想配置一台可以发布的服务器,经过近一个月的努力,终于掌握了基于Apache和mod-wsgi插件的部署模式,自己也写了一个教程,一是让自己有个记录,二 ...

  6. Windows下在Django中创建项目时ImportError: No module named django.core解决方法

    Windows下在Django中创建项目时ImportError: No module named django.core解决方法 今天在对照<Python编程:从入门到实践>学## 标题 ...

  7. django orm级联_第 03 篇:创建 Django 博客的数据库模型

    HelloGitHub-Team 成员--追梦人物 设计博客的数据库表结构 博客最主要的功能就是展示我们写的文章,它需要从某个地方获取博客文章数据才能把文章展示出来,通常来说这个地方就是数据库.我们把 ...

  8. python flask与django的区别_真正搞明白Python中Django和Flask框架的区别

    Django和Flask的区别 1.形象类比 如果Django类似于精装修的房子,自带豪华家具.非常齐全功能强大的家电,什么都有了,拎包入住即可,十分方便. 而Flask类似于毛坯房,自己想把房子装修 ...

  9. django restframework 下载文件_【技术选型】Django还是Flask?这是个问题!

    Django和Flask,是Python语言在WEB开发领域中占据了半壁江山的两个框架.在我们实际开发过程中,如何从这两者之间二选一呢? 01 半壁江山的两个WEB框架 在2019年Python官方年 ...

  10. django settings 定义的变量不存在_使用Django部署机器学习模型(1)

    介绍 机器学习(ML)应用的需求正在不断增长.许多资料显示了如何训练ML算法.然而,ML算法分为两个阶段: 训练阶段--在这个阶段,基于历史数据训练ML算法, 推理阶段--ML算法被用于计算对未知结果 ...

最新文章

  1. RAM测试方法 C语言实现,有哪些常用单片机系统RAM测试方法?基于种子和逐位倒转的RAM故障测试法有什么优点?...
  2. win10创建c语言文件,c – 如何在Windows中创建扩展(自定义)文件属性?
  3. Python数模笔记-StatsModels 统计回归(2)线性回归
  4. 在Eclipse里搭建Go开发的环境
  5. 夜上海音乐播放器 v 1.0
  6. [原创] Ubuntu 安装vim与中文帮助文档
  7. java md5加密32位小写_java md5加密 32位 小写
  8. 如何使用python调用ads接口(版图仿真)
  9. leetcode---1728. 猫和老鼠 II
  10. Android 支付宝sdk接入问题:不能唤起支付宝客户端,或者偶然唤起支付客户端
  11. 区块链行业感受及近期的一些规划
  12. Python实战:一键导出微信读书的书籍和笔记
  13. 【转载】SCI投稿过程总结、投稿状态解析、拒稿后对策及接受后期相关问答
  14. 看IE9带来的新概念
  15. vue+openlayers图形交互,实现多边形绘制、编辑和保存
  16. 指针难点——数组指针、指针数组、函数指针、指针函数详解
  17. 关于防滑涂料,你不知道的那些事!
  18. 【Fix Bug】针对 Google Photos 返回的图片Uri,裁剪照片失败
  19. 从word中复制图片到tinymce编辑器中
  20. java文件操作输入输出

热门文章

  1. SAP顾问简历中常见的英文说法,可能你不太熟悉哦~~
  2. 【语音识别】基于HMM实现中文语音识别含Matlab源码
  3. AE的QuickTime问题
  4. 60秒倒计时实现的两种方式
  5. hadoop功能测试
  6. 华中科技大学计算机考研信息汇总
  7. 英伟达发布《永劫无间》最新显卡驱动更新,驱动人生升级教程
  8. NVIDIA显卡驱动更新方法
  9. 常用的Sql命令之造数据
  10. linux格式化硬盘怎么那么慢,linux系统中怎么格式化硬盘