阅读背景:

在django中非常简单的用户输入

来源:互联网 

My underlying struggle is I am having trouble understanding how django templates, views, and urls are tied together... What is the simplest, bare minimum way to prompt the user to input a string, then use that string to query a database (preferably w/ python model not raw sql queries)? Should I use GET and POST methods? Should I use a form? Do I need to use a template or can I use a generic view? My underlying struggle is I am having trouble u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: