首页
学习
活动
专区
工具
TVP
发布

BETTER

专栏成员
46
文章
37620
阅读量
11
订阅数
SAP基礎 会計期間 FI MM CO AA
転記日付(过账时间):发票金额算到哪个月的账目上。(比如:11月花了太所钱,这笔帐记到12月,算12的消费)
刀枪不入de王二花
2023-12-25
1910
django template zero padding 0埋め
期待:1→001stringformat<td class="">{{e.branch_no|stringformat:'03i'}}</td>  →001<td class="">{{e.branch_no|stringformat:'04i'}}</td>  →00011 != '1' 字符和数字相等的判定payment_method.code : integerappl.payment_method : string<select id="payment_method"> {% for op
刀枪不入de王二花
2022-10-26
1910
python 月初日・月末日・下月日期・翌月 取得
下边代码可直接拷贝使用N月后,月初日取得from datetime import date, datetime, timedelta# N月後の初日取得def get_next_n_month_first_day(year:int, month:int, step:int=1): """N月後の初日取得 (例: 当月初日 → 2022,10,0 → 結果:2022/10/1) (例: 翌月初日 → 2022,10,1 → 結果:2022/11/1) (例: 翌々月初日 → 2
刀枪不入de王二花
2022-10-10
4370
aws linux no python application found, check your startup logs for errors
原因不明。server有两套环境,DEV,Stage,chdir分别绝对路径和相对路径。
刀枪不入de王二花
2022-09-30
7420
You are trying to add a non-nullable field without a default
integerYou are trying to add a non-nullable field 'unique_key' to h1_send_beforeamp without a default; we can't do that (the database needs something to populate existing rows).Please select a fix: 1) Provide a one-off default now (will be set on all exist
刀枪不入de王二花
2022-09-30
3210
linux wkhtmltopdf install
download: https://wkhtmltopdf.org/downloads.html
刀枪不入de王二花
2022-09-30
5610
git 指定 folder/file pull
git 常用命令git命令说明git init初期化cat .git/configconfig 内容確認git remote -vremote確認git branch -abaranch確認git log --pretty=onelinelog確認git log --graph --pretty=onelinelog確認 付graphgit config core.sparsecheckout truesparse-checkout有効git remote add origin https://github
刀枪不入de王二花
2022-09-28
3610
git user pw 设定 linux,windows .netrc
利用 pw管理文件 【.netrc】(linux 下路径: /home/username , windows下路径:C:\Users\username)
刀枪不入de王二花
2022-09-28
2.2K0
postman: api 调用 post
補足:送信button:报错 无Agent 时、按照画面指示,下载 postman agent 、双击即可
刀枪不入de王二花
2022-09-28
1.5K0
django RelatedObjectDoesNotExist
根据处理log,可查看处理源码【related_descriptors.py", line 421,in __get__】
刀枪不入de王二花
2022-09-26
3400
probably another instance of uWSGI is running on the same address
probably another instance of uWSGI is running on the same address (127.0.0.1:8000)
刀枪不入de王二花
2022-09-26
5040
django get choice by key
Choice[ key ].label or Choice[ key ].value
刀枪不入de王二花
2022-09-19
2510
django: custom template tags
无参数function可以直接调用,用【.】,有参数,则需要自定义tags,如上述【lookup】
刀枪不入de王二花
2022-09-09
3230
jquery print break-inside: avoid
印刷结果预览print area 为单位印刷图片实装方式HTML<div class="level-item"> <button class="button is-black " id="print-all-btn"> <!-- 全体印刷 button--> <span>印刷</span> </button></div><!-- 全体印刷 范围 start--><div class="block print-all">{% for key, supplier in suppli
刀枪不入de王二花
2022-09-08
2310
django:convert queryset into list of dicts
Use the.values()method, 返回结果仍为Queryset,再用list转换一下即可。
刀枪不入de王二花
2022-09-03
1.7K0
jQuery: select option get display value
select option 从DB取得,除了value, 还希望对表示值等进行处理
刀枪不入de王二花
2022-08-26
8330
django migrate 常见错误总结 and 对应方法
python manage.py makemigrations <appname>
刀枪不入de王二花
2022-08-26
1.6K0
python PdfFileMerger
python 3.9PyPDF2==1.26.0要件:a.pdf,b.pdf → merge.pdf导入包:from PyPDF2 import PdfFileMerger, PdfFileReader直接写入指定文件中:def merge_pdf_document(docs:List[str], file_name:str): """PDF merge args: docs : file path list e.g.['C://temp//a.pdf','C://temp
刀枪不入de王二花
2022-08-25
2530
python ZipFile: output zip file,ByteIO
python 3.9zipFile出力结论:利用【zipfile】包import ioimport zipfile直接写入指定文件中:with zipfile.ZipFile(temp_path ,mode='w')as f: f.write(file)返回ByteIObuffer = io.BytesIO() # param1:写入对象 buffer # param2:mode write # param3:compression default'ZIP_STORED(no com
刀枪不入de王二花
2022-08-25
8250
js encodeURI : 冒号等 保留字符
要件: 出力CSV,文件名包含格式化后当日日期【2022-08-24 13:24:15】 问题: 实际出力的文件名为: 文件名_2022-08-24 13%3A17%3A48.csv 原因: URI
刀枪不入de王二花
2022-08-24
1.8K0
点击加载更多
社区活动
【纪录片】中国数据库前世今生
穿越半个世纪,探寻中国数据库50年的发展历程
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档