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

django restframework 中的 serializer, 如果 json 中的参数是中划线. serializer 的参数如何定义?

  •  
  •   chaleaochexist · Jun 17, 2019 · 1915 views
    This topic created in 2662 days ago, the information mentioned may be changed or developed.

    譬如 参数长这样

    {
      "input": {
        "subscriber-id":"Hector",
        "current-internet-package": "ADAS02",
        "target-internet-package": "ADAS01",
      }
    }
    
    1 replies  •  2019-06-17 17:32:57 +08:00
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1316 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:49 · PVG 00:49 · LAX 09:49 · JFK 12:49
    ♥ Do have faith in what you're doing.