摘要:
```pythonbulk_create批量插入数据models.py文件class Book(models.Model): title=models.CharField(max_length=32)urls.py文件from app01 import viewsurlpatterns = [ url(r'^admin/', admin.site.urls), #首页 ur... 阅读全文
摘要:
```python models.py文件 from django.db import models class User(models.Model): username=models.CharField(max_length=32) age=models.IntegerField() gender_choices=( (1,'male'), (2,'female'), (3,'other') ) 阅读全文
摘要:
```pythonGitHub中甜甜的弹窗地址:https://github.com/lipis/bootstrap-sweetalert直接简单粗暴选择右下角的download,下载到本地一份文件小猿取经中的相关Django与ajax地址:https://www.cnblogs.com/xiaoyuanqujing/articls/11753411.html``` 阅读全文