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.