我有问题,以保存在侵权人表上的fk在邮政。当我添加记录时,我试图保存客户ID。为了解决疑难问题,我增加了几行打印行,这是输出。forms.py中的客户为2views.py中的客户为2views.py
@login_requiredcustomer ) print (f'customer in views.py is {customer}')打印(f‘成功地用客户{saved_instance.customer}保存了views.py中的<em
我有一个图像目录,我想动态地组合3-10个图像。它将在任何地方从3-10张图片.我的想法是创建n个变量,然后将这些n个变量传递给image_append。/Desktop/',pattern = '.tif') ##list of images, could be 3-10assign(paste("image", h,