摘要:
今天用git pull来更新代码,遇到了下面的问题: error: Your local changes to the following files would be overwritten by merge: xxx/xxx/xxx.java Please, commit your change 阅读全文
摘要:
如果是报OSError: mysql_config not found,则先使用yum list installed | grep xx检查如下包的安装情况。 yum list installed | grep gcc yum list installed | grep mysql yum list 阅读全文
摘要:
首选明确一点,这两个都是发生在表连接中,为了避免不必要的数据查询而存在 创建模型类 from django.db import models class Publisher(models.Model): name = models.CharField(max_length=300) def __st 阅读全文