本文版权归cxun所有,如有转载请注明出处与本文链接,谢谢!原文地址:http://www.cnblogs.com/cxun/p/7762984.html For indexing: Convert strings like under_score to strings like camelCase 使用Sublime.Notepad++之类的含有正则表达式替换工具的文本处理器,通过以下方式,可以批量将诸如“abc_def_ghi”替换为“abcDefGhi”格式. 首先,要先替换含有下划线较多
一.多表的创建 from django.db import models # Create your models here. class Author(models.Model): id = models.AutoField(primary_key=True) name = models.CharField(max_length=32) age = models.IntegerField() au = models.OneToOneField(to='AuthorDetail',to_fiel