検索

phrase: max: clip:
target: order:
Results of 71 - 80 of about 177 for models (0.052 sec.)
Django 1.9 リリースノート — Django 4.0.6 ドキュメント 5484
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... るようになりました。 django.contrib.admindocs ¶ The model section of the admindocs now also describes methods ... grations. When applying migrations, the "Rendering model states" step that's displayed when running migrate ... the migrations that have already been applied. The model states for migrations being applied are generated o ... モデル ¶ QuerySet.bulk_create() now works on proxy models. Database configuration gained a TIME_ZONE option ...
https://man.plustar.jp/django/releases/1.9.html - [similar]
Model クラスのリファレンス — Django 4.0.6 ドキュメント 5462
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... res of the Model class. For more information about models, see the complete list of Model reference guides . ... sider the following example: from django.db import models class Person ( models . Model ): # Add manager wit ... h another name people = models . Manager () For more details on model managers se ...
https://man.plustar.jp/django/ref/models/class.html - [similar]
Django 1.8.6 リリースノート — Django 4.0.6 ドキュメント 5429
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n you have multiple ManyToManyField s on different models that have the same field name, point to the same m ... as a side effect of fixing #24704 . Made deferred models use their proxied model's _meta.apps for caching a ... nd retrieval ( #25563 ). This prevents any models generated in data migrations using QuerySet.defer( ... 1.8.5 リリースノート 関連キーワード Fixed , when , models , have , regression , crash , up , next , allowed ...
https://man.plustar.jp/django/releases/1.8.6.html - [similar]
翻訳 — Django 4.0.6 ドキュメント 5429
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... jango.utils.translation import ngettext from myapp.models import Report count = Report . objects . count () ... th name" , "May" ) もしくは: from django.db import models from django.utils.translation import pgettext_lazy ... class MyThing ( models . Model ): name = models . CharField ( help_text = ... ためには、以下のようにします: from django.db import models from django.utils.translation import gettext_lazy ...
https://man.plustar.jp/django/topics/i18n/translation.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 5429
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... sing the request factory: from django.contrib.auth.models import AnonymousUser , User from django.test impor ... jango's own test suite, which contains hundreds of models but no relations between models in different appli ... ications instructs Django to behave as if only the models from these applications were available. The behavi ... test, Django empties only tables corresponding to models in available apps. However, at the database level, ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
条件付きビュー — Django 4.0.6 ドキュメント 5384
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ned with an example. Suppose you have this pair of models, representing a small blog system: import datetime ... from django.db import models class Blog ( models . Model ): ... class Entry ( m ... odels . Model ): blog = models . ForeignKey ( Blog , on_delete = models . CASCADE ... ) published = models . DateTimeField ( default = datetime . datetime . ...
https://man.plustar.jp/django/topics/conditional-view-processing.html - [similar]
How to write custom lookups — Django 4.0.6 ドキュメント 5350
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... クアップを認識させる必要があります。 from django.db.models import Lookup class NotEqual ( Lookup ): lookup_na ... Field クラスに直接登録しましょう。 from django.db.models import Field Field . register_lookup ( NotEqual ) ... レータパタンを使っても登録できます。 from django.db.models import Field @Field . register_lookup class NotEqu ... ップの登録を行っておく必要があります。実装する場所は models.py ファイル内で行ってもよいし、 AppConfig 内の rea ...
https://man.plustar.jp/django/howto/custom-lookups.html - [similar]
Admin actions — Django 4.0.6 ドキュメント 5328
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... "delete selected objects" action available to all models. For example, here's the user module from Django's ... ation with an Article model: from django.db import models STATUS_CHOICES = [ ( 'd' , 'Draft' ), ( 'p' , 'Pub ... ished' ), ( 'w' , 'Withdrawn' ), ] class Article ( models . Model ): title = models . CharField ( max_length ... = 100 ) body = models . TextField () status = models . CharField ( max_l ...
https://man.plustar.jp/django/ref/contrib/admin/actions.html - [similar]
Constraints reference — Django 4.0.6 ドキュメント 5328
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n constraints Constraints are defined in django.db.models.constraints , but for convenience they're imported ... into django.db.models . The standard convention is to use from django.db ... import models and refer to the constraints as models.<Foo>Constr ... Deferrable.IMMEDIATE . For example: from django.db.models import Deferrable , UniqueConstraint UniqueConstra ...
https://man.plustar.jp/django/ref/models/constraints.html - [similar]
Django 1.11.9 リリースノート — Django 4.0.6 ドキュメント 5328
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... orrect class-based model index name generation for models with quoted db_table ( #28876 ). Fixed incorrect f ... oreign key constraint name for models with quoted db_table ( #28876 ). Fixed a regressio ... リリースノート 関連キーワード Fixed , ted , next , models , incorrect , regression , Bugfixes , up , previou ...
https://man.plustar.jp/django/releases/1.11.9.html - [similar]