Skip to content

蚂蚁学Python

你有没有为写代码拼过命?那你知不知道 人生苦短,我用Python?

  • 视频课程
  • 关于我

django

Categories django

在Django中访问BASE_DIR的推荐方法

2023-07-16 Leave a comment by crazyant

1. 引入settings的模块 在代码文件的上方进行引入: from django.conf import … Read more 在Django中访问BASE_DIR的推荐方法


Categories django

Django修改表单密码字段时保留密码

2023-03-142023-03-14 Leave a comment by crazyant

1、问题 默认情况下,如果是密码字段,会自动清空输入内容 2、解决办法 在form的class中,增加属性 r … Read more Django修改表单密码字段时保留密码


Categories django

django-crispy-forms报错说bootstrap4/uni_form.html 模板不存在

2023-03-012023-03-01 Leave a comment by crazyant

报错截图 按照如下步骤解决: 1、补充一个安装包 pip install django-crispy-form … Read more django-crispy-forms报错说bootstrap4/uni_form.html 模板不存在


Categories django

宝塔Linux通过Gunicorn部署django

2023-03-022023-03-01 Leave a comment by crazyant

插件列表 新建网站 修改代码的两个配置 Debug = True的话,如果网站报错,会提供详细的报错信息;如果 … Read more 宝塔Linux通过Gunicorn部署django


Categories django

怎样通过Jquery给后端Django服务上传文件

2023-01-142023-01-10 Leave a comment by crazyant

1. form类 class TianqiUploadForm(forms.Form): tianqi_fil … Read more 怎样通过Jquery给后端Django服务上传文件


Categories django, pandas

Django结合Pandas实现CSV文件下载

2022-12-262022-12-26 Leave a comment by crazyant

1、前端增加下载按钮 <a href="/dump_orders/" class=& … Read more Django结合Pandas实现CSV文件下载


Categories django

怎样在Django中使用Bootstrap样式?

2022-11-27 Leave a comment by crazyant

使用一个插件django-crispy-forms可以很好的完成样式对接 1、安装库 pip install … Read more 怎样在Django中使用Bootstrap样式?


Categories django

Django开发常见问题解答

2023-03-012022-11-08 Leave a comment by crazyant

导出pip list pip list –format=freeze > requirements.t … Read more Django开发常见问题解答


Post navigation
Older posts
1 2 Next →

文章分类

  • C++ (8)
  • chatgpt (2)
  • django (13)
  • flask (9)
  • hadoop (5)
  • hive (14)
  • java (20)
  • javascript (1)
  • kafka (1)
  • linux (17)
  • mac (2)
  • mysql (23)
  • numpy (1)
  • paddlepaddle (1)
  • pandas (37)
  • php (39)
  • pyecharts (1)
  • python (31)
  • python环境 (16)
  • python趣味小程序 (3)
  • redis (4)
  • sklearn (1)
  • spark (6)
  • tensorflow (3)
  • zookeeper (1)
  • 产品想法 (1)
  • 创业项目 (1)
  • 办公自动化 (8)
  • 推荐系统 (6)
  • 数据科学 (1)
  • 数据结构与算法 (1)
  • 机器学习 (4)
  • 爬虫 (19)
  • 程序人生 (25)
  • 程序员自媒体 (12)
  • 腾讯课堂 (1)
  • 自动化测试 (1)
  • 读书心得 (8)
  • 软件工具 (7)
  • 量化投资 (6)
© 2023 蚂蚁学Python • Theme Xena