検索

phrase: max: clip:
target: order:
Results of 101 - 110 of about 438 for For (0.115 sec.)
モデルからフォームを作成する — Django 4.0.6 ドキュメント 4821
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | up | next » モデルからフォームを作成する ¶ ModelForm ¶ class ModelForm ¶ データベース中心のアプリケーシ ... 長でしょう。 このためDjango には、Django モデルから Form クラスを生成できるようなヘルパークラスを用意してあ ... ります。 例: >>> from django.forms import ModelForm >>> from myapp.models import Ar ... ticle # Create the form class. >>> class ArticleForm ( ModelForm ): ... c ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
クロスサイトリクエストフォージェリ (CSRF) 対策 — Django 4.0.6 ドキュメント 4771
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... テンプレートタグは、簡単に扱える Cross Site Request Forgeries 対策を提供しています。このタイプの攻撃は、訪 ... テンプレートで、POST が内部 URL に使われる場合は、 <form> 要素の内部で csrf_token タグを使用してください。 ... < form method = "post" > {% csrf_token %} この方法は、外 ... const cookies = document . cookie . split ( ';' ); for ( let i = 0 ; i < cookies . length ; i ++ ) { cons ...
https://man.plustar.jp/django/ref/csrf.html - [similar]
Django 1.2.5 release notes — Django 4.0.6 ドキュメント 4771
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Django 1.2 series, improving the stability and performance of the Django 1.2 codebase. With four excepti ... mprovements. Django 1.2.5 is a recommended upgrade for any development or deployment currently using or t ... argeting Django 1.2. For full details on the new features, backwards incomp ... . Backwards incompatible changes ¶ CSRF exception for AJAX requests ¶ Django includes a CSRF-protection ...
https://man.plustar.jp/django/releases/1.2.5.html - [similar]
Model クラスのリファレンス — Django 4.0.6 ドキュメント 4754
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... This document covers features of the Model class. For more information about models, see the complete li ... d by the ORM when an expected object is not found. For example, QuerySet.get() will raise it when no obje ... ct is found for the given lookups. Django provides a DoesNotExist ... uld not be found, allowing you to catch exceptions for a particular model class. The exception is a subcl ...
https://man.plustar.jp/django/ref/models/class.html - [similar]
Related objects reference — Django 4.0.6 ドキュメント 4754
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... . This happens in two cases: The "other side" of a ForeignKey relation. That is: from django.db import mo ... ss class Entry ( models . Model ): blog = models . ForeignKey ( Blog , on_delete = models . CASCADE , nul ... ith Blog b. In the example above, in the case of a ForeignKey relationship, QuerySet.update() is used to ... perform the update. This requires the objects to already ...
https://man.plustar.jp/django/ref/models/relations.html - [similar]
How to configure and use logging — Django 4.0.6 ドキュメント 4696
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... to use __name__ (see Use logger namespacing below for more on this) which will provide the name of the c ... etLogger ( __name__ ) It's a good convention to perform this declaration at module level. And then in a f ... unction, for example in a view, send a record to the logger: de ... ... if some_risky_state : logger . warning ( 'Platform is running at risk' ) When this code is executed, ...
https://man.plustar.jp/django/howto/logging.html - [similar]
Django 1.8.10 リリースノート — Django 4.0.6 ドキュメント 4696
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... he user to an "on success" URL. The security check for these redirects (namely django.utils.http.is_safe_ ... ication credentials "safe" when they shouldn't be. For example, a URL like http://mysite.example.com\@att ... Django since 1.6, the default number of iterations for the PBKDF2PasswordHasher and its subclasses has in ... reates a timing difference between a login request for a user with a password encoded in an older number ...
https://man.plustar.jp/django/releases/1.8.10.html - [similar]
クエリを作成する — Django 4.0.6 ドキュメント 4679
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... me class Entry ( models . Model ): blog = models . ForeignKey ( Blog , on_delete = models . CASCADE ) hea ... が呼ばれるまで Django はデータベースを操作しません。 ForeignKey と ManyToManyField フィールドを扱う ¶ Updat ... ing a ForeignKey field works exactly the same way as saving ... OM bar LIMIT 1 ), use an index instead of a slice. For example, this returns the first Entry in the datab ...
https://man.plustar.jp/django/topics/db/queries.html - [similar]
パフォーマンスと最適化 — Django 4.0.6 ドキュメント 4679
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nts in one area will often bring about improved performance in another, but not always; sometimes one can ... even be at the expense of another. For example, an improvement in a program's speed might ... ability or maintainability of the code. Not all performance improvements are worth the effort. なので、何 ... ovide a useful insight into your site's overall performance, including aspects that can't be adequately m ...
https://man.plustar.jp/django/topics/performance.html - [similar]
Django 1.7.2 release notes — Django 4.0.6 ドキュメント 4646
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d to a model on SQLite ( #23702 ). Added a warning for duplicate models when a module is reloaded. Previo ... 23621 ). Prevented flush from loading initial data for migrated apps ( #23699 ). Fixed a makemessages reg ... k in the Ukrainian locale to Monday. Added support for transactional spatial metadata initialization on S ... #23731 ). Allowed usage of DateTimeField() as Transform.output_field ( #23420 ). Fixed a migration serial ...
https://man.plustar.jp/django/releases/1.7.2.html - [similar]
PREV 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 NEXT