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

django Model 类的 _default_object 表示什么?

  •  
  •   zmrenwu · Jun 20, 2016 · 2999 views
    This topic created in 3753 days ago, the information mentioned may be changed or developed.

    如果我在 Model 里自定义了一个 objects = MyManager (),那么这个 _default_object 指的是 MyManager (),还是 django 自带的 Manager ()?

    1 replies  •  2016-06-21 00:42:12 +08:00
    georgema1982
        1
    georgema1982  
       Jun 21, 2016
    当然是 MyManager
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   900 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:32 · PVG 04:32 · LAX 13:32 · JFK 16:32
    ♥ Do have faith in what you're doing.