如需安装运行环境或远程调试,见文章底部个人QQ名片,由专业技术人员远程协助!
这篇博客针对<
代码如下(示例):
# coding:utf-8
from django.db import models# Create your models here.class Article(models.Model): title = models.CharField(u'标题', max_length=256)data1 = models.CharField(u'数据1', max_length=256)file = models.FileField(u'文件', upload_to="files/") img = models.ImageField(u'相片', upload_to='imgs/')content = models.TextField(u'内容')pub_date = models.DateTimeField(u'发表时间', auto_now_add=True, editable=True)update_time = models.DateTimeField(u'更新时间', auto_now=True, null=True)def __str__(self): # 在Python3中用 __str__ 代替 __unicode__return self.title
代码如下(示例):
{% load static %}
xxxxxx
如需安装运行环境或远程调试,见文章底部个人QQ名片,由专业技术人员远程协助!
1)远程安装运行环境,代码调试
2)Qt, C++, Python入门指导
3)界面美化
4)软件制作
博主推荐文章:https://blog.csdn.net/alicema1111/article/details/123851014
个人博客主页:https://blog.csdn.net/alicema1111?type=blog
博主所有文章点这里:https://blog.csdn.net/alicema1111?type=blog
上一篇:windows10关闭默认共享