DAOCLOUD
推荐学习书目
› Python Cookbook
› Using Google App Engine
推荐下载
› Latest Google App Engine SDK
其他兼容技术
› AppScale
nttdocomo

如何将models.py中的所有Model列出来?

  •  
  •   nttdocomo · Oct 23, 2011 · 5183 views
    This topic created in 5460 days ago, the information mentioned may be changed or developed.
    想django那样,将应用中所有的model都列出来,这个如何实现呢?
    1 replies  •  1970-01-01 08:00:00 +08:00
    fanzeyi
        1
    fanzeyi  
       Oct 23, 2011
    dir() ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   745 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 20:01 · PVG 04:01 · LAX 13:01 · JFK 16:01
    ♥ Do have faith in what you're doing.