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

一个非常轻量的 Django URL 的装饰器

  •  
  •   wangtai ·
    wangtai · Jun 29, 2014 · 4461 views
    This topic created in 4512 days ago, the information mentioned may be changed or developed.
    https://github.com/wangtai/django_render

    基于Python 2.7 上重新定义 Django url 的用法,使用@语法可以轻松定义出 RESTful 风格的url,也可以用于声明 HTTP GET/POST 参数。也可以用于用户认证拦截。自动识别返回类型 HttepResponse, json, google-protobuf



    本人新手,欢迎各位吐槽啊

    https://github.com/wangtai/django_render
    5 replies  •  2014-07-31 23:47:44 +08:00
    wangtai
    wangtai
    OP
    Jun 30, 2014
    1
    一天也没有回复,自己顶一下吧 (´・_・`)
    kzing
    kzing
    Jun 30, 2014❤️1
    2
    帮顶 : ) 我喜欢这种风格的URL的写法
    ChanneW
    ChanneW
    Jul 6, 2014
    3
    仿那 啥啥啥的风格,试用一下.
    wangtai
    wangtai
    OP
    Jul 7, 2014
    4
    @ChanneW 欢迎拍砖 ^_^
    simman
    simman
    Jul 31, 2014
    5
    怎么安装呀。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3030 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 11:44 · PVG 19:44 · LAX 03:44 · JFK 06:44
    ♥ Do have faith in what you're doing.