上一页 1 2 3 4 5 6 7 ··· 42 下一页
摘要: 1.cd到虚拟环境目录 1769 cd bossjob-recruiter 1770 ls 1771 cd bin 1775 ./activate 1776 source activate 激活虚拟环境 2.进入当前目录下下载本地模块 1787 cd bossjob-auth-lib 1788 ls 阅读全文
posted @ 2023-08-11 11:27 Οo白麒麟оΟ 阅读(15) 评论(0) 推荐(0)
摘要: 使用script引入vue.js的方法: 1、使用<script> 标签直接引入本地vue.js文件 首先使用在 Vue.js 的官网上直接下载 vue.js文件到本地 下载地址:https://vuejs.org/js/vue.min.js 然后用 <script> 标签引入本地的vue.js文件 阅读全文
posted @ 2023-06-16 08:38 Οo白麒麟оΟ 阅读(1074) 评论(0) 推荐(0)
摘要: 1.汇率url https://www.exchangerate-api.com/docs/supported-currencies 2.调用 class Command(BaseCommand): help = "Sync currency pair and exchange rate" def 阅读全文
posted @ 2023-03-26 19:36 Οo白麒麟оΟ 阅读(613) 评论(0) 推荐(0)
摘要: 1.生成token方式及自定义荷载信息 from rest_framework_simplejwt.tokens import RefreshToken def _generate_jwt_token_for_jobseeker(self): refresh = RefreshToken.for_u 阅读全文
posted @ 2023-02-22 18:37 Οo白麒麟оΟ 阅读(723) 评论(0) 推荐(0)
摘要: 上传文件到AWS 及其他资源池def upload_initial_avatar(recruiter, image_object): try: file_path = recruiter.avatar_dir_path(image_object.name.split("/")[-1]) image_ 阅读全文
posted @ 2023-01-12 21:28 Οo白麒麟оΟ 阅读(59) 评论(2) 推荐(0)
摘要: 推荐个接口测试工具,火焰图及各模块性能分析 https://github.com/jazzband/django-silk 配合使用的火焰图工具 https://jiffyclub.github.io/snakeviz/ 压力测试的工具 https://locust.io/ 数字化分析网站 http 阅读全文
posted @ 2023-01-07 17:54 Οo白麒麟оΟ 阅读(73) 评论(0) 推荐(1)
摘要: 1.翻了很多资料发现大多是Windows的库偏多,并且不支持linux,还需要借助word软件,方案是首先docx 转 html 再转 pdf 代码: from pydocx import PyDocX from xhtml2pdf import pisa import os def word2ht 阅读全文
posted @ 2022-12-22 18:03 Οo白麒麟оΟ 阅读(296) 评论(0) 推荐(0)
摘要: 打包vue文件时候报错:npm ERR! missing script: build 查看文件package.json中scripts参数 所以此时的运行命令应为 npm run build:prod --report 阅读全文
posted @ 2022-09-25 10:23 Οo白麒麟оΟ 阅读(391) 评论(0) 推荐(0)
摘要: 1.docker包下载准备 链接: https://pan.baidu.com/s/1KSigVtGK11znUYtGUExL_w 提取码: 3gnt 阅读全文
posted @ 2022-09-24 09:45 Οo白麒麟оΟ 阅读(21) 评论(0) 推荐(0)
摘要: 1.dockerfile 编写 FROM ubuntu:latest MAINTAINER jiangmoo ENV DEBIAN_FRONTEND=noninteractive ENV LANG C.UTF-8 RUN sed -i "s/security.debian.org/mirrors.a 阅读全文
posted @ 2022-09-24 09:30 Οo白麒麟оΟ 阅读(870) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 42 下一页