Results of 11 - 20 of about 150 for views (0.071 sec.)
- mixinを編集する — Django 4.0.6 ドキュメント 7996
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ngoの編集ビューを構築するのに使用されます。 django.views.generic.edit.FormMixin django.views.generic.edit.M ...
odelFormMixin django.views.generic.edit.ProcessFormView django.views.generic. ...
ビュー を参照してください。 FormMixin ¶ class django.views.generic.edit. FormMixin ¶ フォームを作成したり表示 ...
する機能を提供するmixinクラス。 ミックスイン django.views.generic.base.ContextMixin メソッドと属性 initial ¶ ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-editing.html
- [similar]
- クロスサイトリクエストフォージェリ (CSRF) 対策 — Django 4.0.6 ドキュメント 7446
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
す: from django.shortcuts import render from django.views.decorators.csrf import csrf_protect @csrf_protect ...
のビューを使っている場合は、 Decorating class-based views を参照してください。 拒否されたリクエスト ¶ 受け取 ...
g this condition. To do this, set the CSRF_FAILURE_VIEW setting. CSRF failures are logged as warnings to th ...
However, if you use cache decorators on individual views, the CSRF middleware will not yet have been able t ...
-
https://man.plustar.jp/django/ref/csrf.html
- [similar]
- Django 1.6 release notes — Django 4.0.6 ドキュメント 7411
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
g the URL of the next page for django.contrib.auth.views.logout() , django.contrib.auth.views.password_rese ...
t() , django.contrib.auth.views.password_reset_confirm() , and django.contrib.auth ...
.views.password_change() , you can now pass URL names and ...
USE_TZ is True . Learn more . date_list in generic views requires time zone definitions ¶ For the same reas ...
-
https://man.plustar.jp/django/releases/1.6.html
- [similar]
- How to configure and use logging — Django 4.0.6 ドキュメント 7341
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ance is defined using getLogger() . For example in views.py of my_app : logger = logging . getLogger ( __na ...
me__ ) will create a logger in the my_app.views namespace. __name__ allows you to organize log mes ...
nce name collisions. A logger mapping named my_app.views will capture records from this logger: LOGGING = { ...
[ ... ] 'loggers' : { 'my_app.views' : { ... }, }, } A logger mapping named my_app wil ...
-
https://man.plustar.jp/django/howto/logging.html
- [similar]
- django.urls functions for use in URLconfs — Django 4.0.6 ドキュメント 7306
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t include , path urlpatterns = [ path ( 'index/' , views . index , name = 'main-view' ), path ( 'bio/<usern ...
ame>/' , views . bio , name = 'bio' ), path ( 'articles/<slug:tit ...
le>/' , views . article , name = 'article-detail' ), path ( 'art ...
icles/<slug:title>/<int:section>/' , views . section , name = 'article-section' ), path ( 'bl ...
-
https://man.plustar.jp/django/ref/urls.html
- [similar]
- はじめての Django アプリ作成、その 3 — Django 4.0.6 ドキュメント 7283
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nd will focus on creating the public interface -- "views." 困ったときは: このチュートリアルの実行に問題があ ...
n a blog application, you might have the following views: Blog ホームページ - 最新エントリーをいくつか表示 ...
とビューを書いてみる ¶ それではもう少しviewを polls/views.py に追加していきましょう。これから追加するviewでは ...
引数をとります。 polls/views.py ¶ def detail ( request , question_id ): return ...
-
https://man.plustar.jp/django/intro/tutorial03.html
- [similar]
- Pythonモジュール索引 — Django 4.0.6 ドキュメント 7283
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
on django.contrib.auth.signals django.contrib.auth.views django.contrib.contenttypes Provides generic inter ...
s Functions that help with creating decorators for views. django.utils.encoding A series of helper function ...
translation Internationalization support. v django.views Django's built-in views. django.views.decorators.c ...
ache django.views.decorators.common django.views.decorators.csrf dja ...
-
https://man.plustar.jp/django/py-modindex.html
- [similar]
- ビルトインのクラスベースビュー API — Django 4.0.6 ドキュメント 7084
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
クガイドの クラスベースビュー をご覧ください。 Base views View TemplateView RedirectView Generic display ビュ ...
ー Detail Views List Views Generic editing ビュー FormView CreateV ...
View TemplateView RedirectView 詳細のビュー Detail Views リストのビュー List Views 編集するためのビュー For ...
ttrチェックで ``True を返します)。 Base vs Generic views ¶ ベースクラスベースのビューは 親の ビューとして考 ...
-
https://man.plustar.jp/django/ref/class-based-views/index.html
- [similar]
- Django 1.8 リリースノート — Django 4.0.6 ドキュメント 6955
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ield . ジェネリックビュー (generic view) ¶ Generic views that use MultipleObjectMixin may now specify the o ...
t variable to be set. If you have any custom admin views that use this template, update them to pass AdminS ...
the SafeExceptionReporterFilter class. Class-based views that use ModelFormMixin will raise an ImproperlyCo ...
den days of Django, it was encouraged to reference views as strings in urlpatterns : urlpatterns = patterns ...
-
https://man.plustar.jp/django/releases/1.8.html
- [similar]
- クラスベースのビューでフォームを扱う — Django 4.0.6 ドキュメント 6955
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
FormView を使用することで構築することができます。 views.py ¶ from myapp.forms import ContactForm from djan ...
go.views.generic.edit import FormView class ContactFormView ...
エリセットに対するモデルが使用されます。 Model form views provide a form_valid() implementation that saves t ...
重要です; 自分自身でロジックを書く必要はありません: views.py ¶ from django.urls import reverse_lazy from dja ...
-
https://man.plustar.jp/django/topics/class-based-views/generic-editing.html
- [similar]