推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
warmheartli
V2EX  ›  Python

谁知道 django 有没有强大一些的筛选器插件

  •  
  •   warmheartli ·
    lcdevelop · Dec 12, 2016 · 3338 views
    This topic created in 3579 days ago, the information mentioned may be changed or developed.
    比如我有一个 table 有 10 个列分别是 column1 、 column2 、……、 column10
    我想用哪一列筛就能用哪一列,想用几列就用几列,可以动态添加条件
    5 replies  •  2016-12-15 09:03:26 +08:00
    onefouroo
        1
    onefouroo  
       Dec 12, 2016 via iPhone
    貌似 django-admin 没有那么自由。 mark 一下。坐等老司机指点。
    warmheartli
        3
    warmheartli  
    OP
       Dec 13, 2016
    @zhu327 这个还是要在代码里写死哪些域作为过滤器,我希望是动态添加
    zhu327
        4
    zhu327  
       Dec 13, 2016
    @warmheartli 你把所有的列都作为筛选条件,然后想用哪一列作为筛选就用哪一列,可以先看看文档
    warmheartli
        5
    warmheartli  
    OP
       Dec 15, 2016
    @zhu327 这个我知道,我的需求就是这样的,我是希望有那么一个插件,能让我随意点选用哪一列作为筛选,有没有这样的插件
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   869 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:57 · PVG 06:57 · LAX 15:57 · JFK 18:57
    ♥ Do have faith in what you're doing.