検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 34 for age (0.063 sec.)
Django 1.8.2 リリースノート — Django 4.0.6 ドキュメント 7365
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s in expressions. Cases like Case(When(~Q(friends__age__lte=30))) tried to generate a subquery which resu ...
https://man.plustar.jp/django/releases/1.8.2.html - [similar]
View decorators — Django 4.0.6 ドキュメント 7285
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... a view only accepts particular request methods. Usage: from django.views.decorators.http import require_ ... rol content compression on a per-view basis. gzip_page () ¶ This decorator compresses content if the brow ... er accordingly, so that caches will base their storage on the Accept-Encoding header. Vary headers ¶ The ... ate/time. This decorator adds a Cache-Control: max-age=0, no-cache, no-store, must-revalidate, private he ...
https://man.plustar.jp/django/topics/http/decorators.html - [similar]
Django 3.0 リリースノート — Django 4.0.6 ドキュメント 7205
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... plications that run under ASGI, however. At this stage async support only applies to the outer ASGI appli ... ms for better interaction with browser password managers. createsuperuser now falls back to environment v ... LDS now supports ManyToManyField s. The new UserManager.with_perm() method returns users that have the sp ... ango.contrib.sessions ¶ The new get_session_cookie_age() method allows dynamically specifying the session ...
https://man.plustar.jp/django/releases/3.0.html - [similar]
django.db.utils — Django 4.0.6 ドキュメント 7109
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... : pass class DatabaseErrorWrapper : """ Context manager and decorator that reraises backend-specific data ... backend wasn't found. Display a helpful error message # listing all built-in database backends. import d ... o.db.backends.dummy" conn . setdefault ( "CONN_MAX_AGE" , 0 ) conn . setdefault ( "OPTIONS" , {}) conn . ...
https://man.plustar.jp/django/_modules/django/db/utils.html - [similar]
モデル — Django 4.0.6 ドキュメント 7109
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... モジュール内に存在する場合 (このパッケージ構造は manage.py startapp スクリプトによってアプリケーション内に ... APPS 内に新たなアプリケーションを追加した場合、 manage.py migrate を、初回は必要に応じて manage.py makemi ... モデルの属性 ¶ objects モデルの最も重要な属性は Manager です。これは、Django のモデルにデータベースクエリ ... スから インスタンスを取り出す ために使われます。 Manager が定義されていない場合、デフォルトの名前は object ...
https://man.plustar.jp/django/topics/db/models.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 7030
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tion . Calling custom QuerySet methods from the Manager ¶ Historically, the recommended way to make reusa ... model queries was to create methods on a custom Manager class. The problem with this approach was that af ... et instance and couldn't call additional custom manager methods. Though not documented, it was common to ... to values() or values_list() . Writing a custom Manager was still necessary to return the custom QuerySet ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 7030
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... oatField ForeignKey ModelChoiceField (see below) ImageField ImageField IntegerField IntegerField IPAddres ... ションを行う を参照してください。 モデルの error_messages のレンダリングを考える ¶ フォームフィールド や フ ... NON_FIELD_ERRORS キーを Meta クラス内の error_messages ディクショナリに追加することで、モデルバリデーショ ... ArticleForm ( ModelForm ): class Meta : error_messages = { NON_FIELD_ERRORS : { 'unique_together' : " %( ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
クロスサイトリクエストフォージェリ (CSRF) 対策 — Django 4.0.6 ドキュメント 6950
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ークンが含まれていない場合に発生します。 The error page, however, is not very friendly, so you may want to ... dangerous side effects, and so a CSRF attack with a GET request ought to be harmless. RFC 7231#section-4 ... : from django.views.decorators.cache import cache_page from django.views.decorators.csrf import csrf_prot ... ect @cache_page ( 60 * 15 ) @csrf_protect def my_view ( request ): ...
https://man.plustar.jp/django/ref/csrf.html - [similar]
フォーム API — Django 4.0.6 ドキュメント 6950
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... します: >>> data = { 'subject' : 'hello' , ... 'message' : 'Hi there' , ... 'sender' : 'foo@example.com' , ... ださい: >>> data = { 'subject' : 'hello' , ... 'message' : 'Hi there' , ... 'sender' : 'foo@example.com' , ... アドレスです: >>> data = { 'subject' : '' , ... 'message' : 'Hi there' , ... 'sender' : 'invalid email addr ... SON. >>> f . errors . as_json () {"sender": [{"message": "Enter a valid email address.", "code": "invalid ...
https://man.plustar.jp/django/ref/forms/api.html - [similar]
Django 3.1 release notes — Django 4.0.6 ドキュメント 6950
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... a password reset link is valid for. This is encouraged instead of the deprecated PASSWORD_RESET_TIMEOUT_ ... ts for details. ファイルストレージ ¶ FileSystemStorage.save() method now supports pathlib.Path . FileFiel ... d and ImageField now accept a callable for storage . This allo ... ws you to modify the used storage at runtime, selecting different storages for diffe ...
https://man.plustar.jp/django/releases/3.1.html - [similar]
PREV 1 2 3 4 NEXT