V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2019-03-13 01:07:16 +08:00 · 1764 次点击
    这是一个创建于 1871 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    2 条回复    2019-03-13 10:47:25 +08:00
    qqxx520
        1
    qqxx520  
       2019-03-13 05:07:04 +08:00 via iPhone   ❤️ 1
    short_description
    K1W1
        2
    K1W1  
    OP
       2019-03-13 10:47:25 +08:00
    @qqxx520 #1 感谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1587 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:07 · PVG 01:07 · LAX 10:07 · JFK 13:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.