{"title":"通用视图","version":"2.0","locale":"zh-hans","docname":"topics/http/generic-views","url":"/zh-hans/2.0/topics/http/generic-views/","canonical":"https://djangodocs.dev/zh-hans/2.0/topics/http/generic-views/","summary":"参考 Built-in class-based views API 。","html":"<h1>通用视图<a class=\"heading-anchor\" href=\"#generic-views\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>参考 <a class=\"reference internal\" href=\"/zh-hans/2.0/ref/class-based-views/\"><span class=\"doc\">Built-in class-based views API</span></a>。</p>","rootId":"generic-views","toc":[],"breadcrumbs":[{"docname":"topics/index","title":"Using Django","url":"/zh-hans/2.0/topics/"},{"docname":"topics/http/index","title":"处理 HTTP 请求","url":"/zh-hans/2.0/topics/http/"}],"prev":{"docname":"topics/http/shortcuts","title":"Django快捷函数","url":"/zh-hans/2.0/topics/http/shortcuts/"},"next":{"docname":"topics/http/middleware","title":"中间件","url":"/zh-hans/2.0/topics/http/middleware/"},"formats":{"html":"/zh-hans/2.0/topics/http/generic-views/","markdown":"/zh-hans/2.0/topics/http/generic-views.md","json":"/zh-hans/2.0/topics/http/generic-views.json"},"source":"https://github.com/django/django/blob/stable/2.0.x/docs/topics/http/generic-views.txt","official":"https://docs.djangoproject.com/zh-hans/2.0/topics/http/generic-views/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0"],"inLocales":["en","zh-hans","fr","ja","id","pt-br","ko","es","el","pl"]}