推荐学习书目
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 · 3960 views
    This topic created in 4344 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
        1
    wangtai  
    OP
       Jun 30, 2014
    一天也没有回复,自己顶一下吧 (´・_・`)
    kzing
        2
    kzing  
       Jun 30, 2014   ❤️ 1
    帮顶 : ) 我喜欢这种风格的URL的写法
    ChanneW
        3
    ChanneW  
       Jul 6, 2014
    仿那 啥啥啥的风格,试用一下.
    wangtai
        4
    wangtai  
    OP
       Jul 7, 2014
    @ChanneW 欢迎拍砖 ^_^
    simman
        5
    simman  
       Jul 31, 2014
    怎么安装呀。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1179 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 23:18 · PVG 07:18 · LAX 16:18 · JFK 19:18
    ♥ Do have faith in what you're doing.