5.5 JLL 实习日志

1 merge 后下载到本地发现有问题以后,改动完以后应该怎么再push 上去呢?显示错误

2.做一个版本Data Version Control 

首先在前段做一个筛选框 


3.下面这个东西的具体位置 

 {% csrf_token %}

4.github 操作

add +commit + git push ,这边不需要加origin

git push origin +对应branch ,一般都是master,或者是对应的

接下来工作

$ follows writtern by lero! 

1. add the dropdown box selection value list in form_policy.policy_xx_xx.py (this is general setting so every policy would be same).

增加一个全局性质的下拉框

2. config form_policy.selection_box to enable the list in step 1.

使得步骤一里面的下拉框可以工作





3. add upload_property_file form in forms.py, which includes two fields: one file field, one charfield.

在forms.py增加一个表单 里面有两个性质

class UploadFileFormChoice(forms.Form):
    file = forms.FileField()
    choices = forms.Select(choices=upload_choice)










4. in view_property_detail, add a new elif in item, and create upload_property_file form then.

去做一个elif 的判定



5. Use form html and js code in property.input_facility.html as reference to optimize the UI in file_upload.html

在前端的html里面写一个动态的语句进行加载数据 

6. double check urls.py.

设置url

7. modify property.add_files function, ex. get -> post, get file field and charfield,  assign value, etc.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值