V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2014 年 6 月 29 日 · 3792 次点击
    这是一个创建于 4214 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 条回复    2014-07-31 23:47:44 +08:00
    wangtai
        1
    wangtai  
    OP
       2014 年 6 月 30 日
    一天也没有回复,自己顶一下吧 (´・_・`)
    kzing
        2
    kzing  
       2014 年 6 月 30 日   ❤️ 1
    帮顶 : ) 我喜欢这种风格的URL的写法
    ChanneW
        3
    ChanneW  
       2014 年 7 月 6 日
    仿那 啥啥啥的风格,试用一下.
    wangtai
        4
    wangtai  
    OP
       2014 年 7 月 7 日
    @ChanneW 欢迎拍砖 ^_^
    simman
        5
    simman  
       2014 年 7 月 31 日
    怎么安装呀。
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2913 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 13:58 · PVG 21:58 · LAX 05:58 · JFK 08:58
    ♥ Do have faith in what you're doing.