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-06-29 13:11:41 +08:00 · 3315 次点击
    这是一个创建于 3586 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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-06-30 11:48:54 +08:00
    一天也没有回复,自己顶一下吧 (´・_・`)
    kzing
        2
    kzing  
       2014-06-30 12:56:23 +08:00   ❤️ 1
    帮顶 : ) 我喜欢这种风格的URL的写法
    ChanneW
        3
    ChanneW  
       2014-07-06 17:32:04 +08:00
    仿那 啥啥啥的风格,试用一下.
    wangtai
        4
    wangtai  
    OP
       2014-07-07 12:49:25 +08:00
    @ChanneW 欢迎拍砖 ^_^
    simman
        5
    simman  
       2014-07-31 23:47:44 +08:00
    怎么安装呀。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5373 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:43 · PVG 15:43 · LAX 00:43 · JFK 03:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.