《Django 5 By Example》阅读笔记:p105-p164

《Django 5 By Example》学习第5天,p105-p164总结,总计60页。

一、技术总结

1.文章标签功能

Django自带django-taggit。

2.自定义template tags

3.roadmap功能

4.RSS功能

5.full-text搜索功能

这里使用的是Postgresql,使用pip install psycopg安装后,执行"python manage.py migarte"会报ModuleNotFoundError: No module named 'psycopg2'错误。应该按照文档使用pip install "psycopg[binary,pool]"进行安装。

二、英语总结(生词:4)

1.agnostic

p147, Although Django is a database-agnostic web framework, it provides a module that supports part of the rich feature set offered by PostgreSQL, which is not offered by other databases that Django supports.

(1)agnostic: a-("not") + *gno-("to know")。adj. neutral.

2.stem

p156, Stemming is the process of reducing words to their word stem, base, or root form.

(1)stem: *sta-("stand, be firm").

adj. central structure of plant(植物的茎干)。这里是一种比喻意义的用法,意为"central part of sth/fundamental part of sth (词干提取)"。

3.boost

p159, We can boost specific vectors so that more weight is attributed to them when ordering results by relevancy.

vt. to increase or improve sth.

4.trigram

p160, Another search approach is trigram similarity.

n. anothe term for trigraph.

三、其它

chapter 03简评:本章介绍了一些常见的功能,但这些功能都是基于Django的admin去实现,不是很通用,本人选择快速过一遍,了解有哪些库及其用法,不做深入学习。

四、参考资料

1. 编程

(1) Antonio Melé,《Django 5 By Example》:https://book.douban.com/subject/37007362/

2. 英语

(1) Etymology Dictionary:https://www.etymonline.com

(2) Cambridge Dictionary:https://dictionary.cambridge.org

欢迎搜索及关注:编程人(a_codists)

相关推荐
web135085886352 小时前
Python大数据可视化:基于python的电影天堂数据可视化_django+hive
python·信息可视化·django
东方芷兰2 小时前
伯克利 CS61A 课堂笔记 11 —— Mutability
笔记·python
不会Hello World的小苗4 小时前
Java——列表(List)
java·python·list
m0_748235956 小时前
Python大数据可视化:基于Python的王者荣耀战队的数据分析系统设计与实现_flask+hadoop+spider
hadoop·python·flask
Dyan_csdn7 小时前
【Python项目】基于Python的Web漏洞挖掘系统
网络·python·安全·web安全
Minner-Scrapy7 小时前
DApp 开发入门指南
开发语言·python·web app
&小刘要学习&7 小时前
anaconda不显示jupyter了?
python·jupyter
jerry-897 小时前
jupyterhub_config配置文件内容
python
奔跑吧邓邓子7 小时前
【Python爬虫(36)】深挖多进程爬虫性能优化:从通信到负载均衡
开发语言·爬虫·python·性能优化·负载均衡·多进程
学长学姐我该怎么办8 小时前
年前集训总结python
python