from django_render.annotations import * | |
@url(r'^/index$', method=M.POST) | |
@post(text=str) | |
def index(request, text): | |
''' | |
curl -X "POST" -F "text=str" http://hostname.com/index | |
''' | |
return {'hello': text} |
![]() |
1
wangtai OP 一天也没有回复,自己顶一下吧 (´・_・`)
|
![]() |
2
kzing 2014-06-30 12:56:23 +08:00 ![]() 帮顶 : ) 我喜欢这种风格的URL的写法
|
![]() |
3
ChanneW 2014-07-06 17:32:04 +08:00
仿那 啥啥啥的风格,试用一下.
|
![]() |
5
simman 2014-07-31 23:47:44 +08:00
怎么安装呀。
|