検索

phrase: max: clip:
target: order:
Results of 21 - 27 of about 27 for Person (0.022 sec.)
モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 7093
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... _() method. 例: from django.db import models class Person ( models . Model ): first_name = models . CharFiel ... the field. 例: from django.db import models class Person ( models . Model ): SHIRT_SIZES = ( ( 'S' , 'Small ... ( max_length = 2 , choices = SHIRT_SIZES ) >>> p = Person ( name = "Fred Flintstone" , shirt_size = "L" ) >> ...
https://man.plustar.jp/django/ref/models/instances.html - [similar]
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 7093
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... issions of the concrete model they subclass: class Person ( models . Model ): class Meta : permissions = [( ... _eat_pizzas' , 'Can eat pizzas' )] class Student ( Person ): class Meta : proxy = True permissions = [( 'can ... add ( permission ) >>> user . has_perm ( 'app.add_person' ) False >>> user . has_perm ( 'app.can_eat_pizzas ... isting data is removed. This is to prevent another person from using the same web browser to log in and have ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
Advice for new contributors — Django 4.0.6 ドキュメント 7044
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ly have a much greater impact than that of any one person. We can't do it without you ! Err on the side of c ... t or your patch to be reviewed quickly. This isn't personal. There are a lot of tickets and pull requests to ...
https://man.plustar.jp/django/internals/contributing/new-contributors.html - [similar]
組み込みタグとフィルタ — Django 4.0.6 ドキュメント 6928
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 例は "Hello, John!" を出力します: コンテキスト: 変数 person に "John" を、変数 greeting に "Hello" をセット。 ... ame_snippet.html テンプレート: {{ greeting }} , {{ person | default :"friend" }} ! キーワード引数を使って、テ ... ことができます: {% include "name_snippet.html" with person = "Jane" greeting = "Hello" %} あらかじめ準備された ...
https://man.plustar.jp/django/ref/templates/builtins.html - [similar]
テストツール — Django 4.0.6 ドキュメント 6863
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ntext manager: with self . assertNumQueries ( 2 ): Person . objects . create ( name = "Aaron" ) Person . obj ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
How to create custom model fields — Django 4.0.6 ドキュメント 6813
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... タイプと同様に、どのモデルでも使用できます: class Person ( models . Model ): name = models . CharField ( ma ...
https://man.plustar.jp/django/howto/custom-model-fields.html - [similar]
フォーム API — Django 4.0.6 ドキュメント 6747
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ます: >>> from django import forms >>> class OptionalPersonForm ( forms . Form ): ... first_name = forms . Cha ... 'John' , 'last_name' : 'Lennon' } >>> f = OptionalPersonForm ( data ) >>> f . is_valid () True >>> f . clea ... ixins. In this example, BeatleForm subclasses both PersonForm and InstrumentForm (in that order), and its fi ... nt classes: >>> from django import forms >>> class PersonForm ( forms . Form ): ... first_name = forms . Cha ...
https://man.plustar.jp/django/ref/forms/api.html - [similar]
PREV 1 2 3 NEXT