【发布时间】:2019-10-23 22:14:05
【问题描述】:
我正在尝试使用django 将Utm paramaters 添加到我的postresql 中的每个link 列中。
链接看起来像这样:
https://www.headout.com/tour/5696/united-states/las-vegas/eldorado-canyon-techatticup-mine-tour-premium-group-tour
Utm 如下:
?utm_source=uvergo&utm_medium=ref&utm_campaign=meta
结果会是这样的:
https://www.headout.com/tour/5696/united-states/las-vegas/eldorado-canyon-techatticup-mine-tour-premium-group-tour?utm_source=uvergo&utm_medium=ref&utm_campaign=meta
有没有办法批量添加参数而不必重新索引我的所有数据?在views.py 什么的?
请帮忙。
【问题讨论】:
标签: python django postgresql url utm