摘要:
from datetime import datetime, timedelta push_time = '2022-03-23T08:40:10.895Z' push_time1 = datetime.strptime(push_time[0:-5], "%Y-%m-%dT%H:%M:%S") + 阅读全文
摘要:
一.基本安装和配置 1.pip install django-pure-pagination 2. settings.py中 install app中添加'pure_pagination', 3. settings.py中添加参数 PAGINATION_SETTINGS = { 'PAGE_RANG 阅读全文