検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 12 for TemplateView (0.013 sec.)
クラスベースビュー — Django 4.0.6 ドキュメント 13318
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 理します。 RedirectView はHTTPリダイレクトを提供し、 TemplateView は基底クラスを拡張してテンプレートもレンダリングで ... .urls import path from django.views.generic import TemplateView urlpatterns = [ path ( 'about/' , TemplateView . a ... は、クラスで設定された属性を上書きします。次の例では TemplateView の template_name を設定しています。同様の上書きのパ ... みましょう。Django にはこれを行うための汎用ビュー、 TemplateView があるので、それをサブクラス化してテンプレート名を ...
https://man.plustar.jp/django/topics/class-based-views/index.html - [similar]
クラスベースビュー入門 — Django 4.0.6 ドキュメント 10453
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... で定義されている動作)にリクエストをディスパッチする TemplateView メソッドクラスとなり、 template_name 属性を使用して ... rmission_required from django.views.generic import TemplateView from .views import VoteView urlpatterns = [ path ( ... 'about/' , login_required ( TemplateView . as_view ( template_name = "secret.html" ))), pat ... method_decorator from django.views.generic import TemplateView class ProtectedView ( TemplateView ): template_nam ...
https://man.plustar.jp/django/topics/class-based-views/intro.html - [similar]
クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 10170
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ンプレートをレンダリングするビューを記述したいとき、 TemplateView は使えない状況もあります; POST ではテンプレートをレ ... 場合、これはあなたによって呼び出されます(たとえば、 TemplateView と DetailView )の両方で実装されている get() メソッ ... n better to back off and base your work on View or TemplateView , perhaps with SingleObjectMixin and MultipleObjec ... editing and date. For example it's fine to combine TemplateView (built in view) with MultipleObjectMixin (generic ...
https://man.plustar.jp/django/topics/class-based-views/mixins.html - [similar]
Base views — Django 4.0.6 ドキュメント 9763
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... を含む Allow ヘッダーとともにレスポンスを返します。 TemplateView ¶ class django.views.generic.base. TemplateView... e views.py : from django.views.generic.base import TemplateView from articles.models import Article class HomePage ... View ( TemplateView ): template_name = "home.html" def get_context_dat ... らが望むとおりの処理をします。 目次 Base views View TemplateView RedirectView 前のトピックへ ビルトインのクラスベー ...
https://man.plustar.jp/django/ref/class-based-views/base.html - [similar]
Simple mixins — Django 4.0.6 ドキュメント 8808
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... . Example usage: from django.views.generic import TemplateView TemplateView . as_view ( extra_context = { 'title' ...
https://man.plustar.jp/django/ref/class-based-views/mixins-simple.html - [similar]
ビルトインのクラスベースビュー API — Django 4.0.6 ドキュメント 8401
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... クラスベースビュー をご覧ください。 Base views View TemplateView RedirectView Generic display ビュー Detail Views L ... ー - フラットインデックス シンプルな汎用ビュー View TemplateView RedirectView 詳細のビュー Detail Views リストのビュ ...
https://man.plustar.jp/django/ref/class-based-views/index.html - [similar]
クラスベース汎用ビュー - フラットインデックス — Django 4.0.6 ドキュメント 8260
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ispatch() head() http_method_not_allowed() setup() TemplateView ¶ class TemplateView ¶ 属性 (と省略可能な継承元): ... ー - フラットインデックス シンプルな汎用ビュー View TemplateView RedirectView 詳細のビュー Detail Views リストのビュ ...
https://man.plustar.jp/django/ref/class-based-views/flattened-index.html - [similar]
Django 1.5 release notes — Django 4.0.6 ドキュメント 7853
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ovides a date_list in descending order. Context in TemplateView ¶ For consistency with the design of the other gen ... eric views, TemplateView no longer passes a params dictionary into the cont ... ear and month archive class-based views Context in TemplateView Non-form data in HTTP requests request_finished si ...
https://man.plustar.jp/django/releases/1.5.html - [similar]
Django 3.1.1 release notes — Django 4.0.6 ドキュメント 7711
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... sing deprecated keyword arguments to a queryset in TemplateView.get_context_data() ( #31877 ). Enforced thread sen ...
https://man.plustar.jp/django/releases/3.1.1.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 7446
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... view: views.py ¶ from django.views.generic import TemplateView class HomeView ( TemplateView ): template_name = ' ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
PREV 1 2 NEXT