推荐学习书目
› 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
K1W1
V2EX  ›  Python

请问 django admin 如果自定义 model 的方法名称?

  •  
  •   K1W1 · Mar 13, 2019 · 2357 views
    This topic created in 2760 days ago, the information mentioned may be changed or developed.

    比如这个 is_exit,数据库字段可以通过 verbose_name 但是方法名不知道如何设置

    2 replies  •  2019-03-13 10:47:25 +08:00
    qqxx520
        1
    qqxx520  
       Mar 13, 2019 via iPhone   ❤️ 1
    short_description
    K1W1
        2
    K1W1  
    OP
       Mar 13, 2019
    @qqxx520 #1 感谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2426 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 02:34 · PVG 10:34 · LAX 19:34 · JFK 22:34
    ♥ Do have faith in what you're doing.