/etc/apt/sources.list deb http://mirrors.aliyun.com/debian wheezy main contrib non-freedeb-src http://mirrors.aliyun.com/debian wheezy main contrib non-free deb http://mirrors.aliyun.com/debian wheezy-updates main contrib non-freedeb-src http://mirro
1.文件上传 Models 设计 class Upload_File(models.Model): image = models.FileField(upload_to='file/%Y/%m',default = 'image/default.png',max_length=100) add_time = models.DateTimeField(auto_now_add=True,verbose_name='添加时间') forms 设计 from django import forms f
打开项目根目录下的 build.gradle(Project:项目名称一级的gradle),如下所示添加阿里 maven 库地址: // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { // 添加阿里云 maven 地址 maven { url 'http://maven.aliyun.com/