検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 177 for models (0.043 sec.)
システムチェックフレームワーク — Django 4.0.6 ドキュメント 7859
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mmand. files : Checks files related configuration. models : Checks of model, field, and manager definitions. ... symmetrical relationship, e.g. to "self". モデル ¶ models.E001 : <swappable> is not of the form app_label.ap ... p_name . models.E002 : <SETTING> references <model> , which has no ... t been installed, or is abstract. models.E003 : The model has two identical many-to-many re ...
https://man.plustar.jp/django/ref/checks.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 7758
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... built-in support for schema migrations. It allows models to be updated, changed, and deleted by creating mi ... provides an easy way to autodetect changes to your models and make migrations for them. django.db.models.sig ... nals.pre_syncdb and django.db.models.signals.post_syncdb have been deprecated, to be re ... ically, Django applications were tightly linked to models. A singleton known as the "app cache" dealt with b ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
GeoDjango Tutorial — Django 4.0.6 ドキュメント 7736
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... of 8 digits up to three decimal places. Geographic Models ¶ Defining a Geographic Model ¶ Now that you've ex ... esent this data: from django.contrib.gis.db import models class WorldBorder ( models . Model ): # Regular Dj ... ttributes in the # world borders shapefile. name = models . CharField ( max_length = 50 ) area = models . In ... tegerField () pop2005 = models . IntegerField ( 'Population 2005' ) fips = models ...
https://man.plustar.jp/django/ref/contrib/gis/tutorial.html - [similar]
PostgreSQL specific database constraints — Django 4.0.6 ドキュメント 7680
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s have the same database restrictions as django.db.models.Index.condition . deferrable ¶ ExclusionConstraint ... stgres.fields import RangeOperators from django.db.models import Deferrable ExclusionConstraint ( name = 'ex ... eRangeField , RangeOperators from django.db import models from django.db.models import Q class Room ( models ... . Model ): number = models . IntegerField () class Reservation ( models . Mod ...
https://man.plustar.jp/django/ref/contrib/postgres/constraints.html - [similar]
ビルトインのクラスベースのジェネリックビュー — Django 4.0.6 ドキュメント 7524
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ょう。 ここでは、以下のようなモデルを使用します。 # models.py from django.db import models class Publisher ( ... models . Model ): name = models . CharField ( max_length = 30 ) address = models . ... CharField ( max_length = 50 ) city = models . CharField ( max_length = 60 ) state_province = m ... odels . CharField ( max_length = 30 ) country = models . CharField ( max_length = 50 ) website = models . ...
https://man.plustar.jp/django/topics/class-based-views/generic-display.html - [similar]
Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 7491
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... for full details. モデル ¶ Common changes to your models file: Rename maxlength to max_length ¶ Rename your ... all your inner class Admin declarations from your models. They won't break anything if you leave them, but ... ngosnippets has written a script that'll scan your models.py and generate a corresponding admin.py . カスタマ ... イズ例 ¶ Below is an example models.py file with all the changes you'll need to make: ...
https://man.plustar.jp/django/releases/1.0-porting-guide.html - [similar]
Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 7469
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... work provides a mechanism for "translating" Django models into other formats. Usually these other formats wi ... be serialized. For example, consider the following models: class Place ( models . Model ): name = models . C ... 50 ) class Restaurant ( Place ): serves_hot_dogs = models . BooleanField ( default = False ) If you only ser ... nt instances, you will need to serialize the Place models as well: all_objects = [ * Restaurant . objects . ...
https://man.plustar.jp/django/topics/serialization.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 7257
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... は、 database query guide で提供された example blog models を使用します。 When QuerySet s are evaluated ¶ 内部 ... エントリー数を決定したいとします: >>> from django.db.models import Count >>> q = Blog . objects . annotate ( C ... of entries, you could do this: >>> from django.db.models import Count >>> blogs = Blog . objects . alias ( ... のケースを考えます: class Event ( Model ): parent = models . ForeignKey ( 'self' , on_delete = models . CASCA ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
アグリゲーション — Django 4.0.6 ドキュメント 7234
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... を追跡するために使用されます。 from django.db import models class Author ( models . Model ): name = models . C ... harField ( max_length = 100 ) age = models . IntegerField () class Publisher ( models . Model ... ): name = models . CharField ( max_length = 300 ) class Book ( mode ... ls . Model ): name = models . CharField ( max_length = 300 ) pages = models . ...
https://man.plustar.jp/django/topics/db/aggregation.html - [similar]
Model Meta options — Django 4.0.6 ドキュメント 7179
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d. See the paragraph on related names for abstract models . get_latest_by ¶ Options. get_latest_by ¶ The nam ... tabase table you are modeling when using unmanaged models. If a model with managed=False contains a ManyToMa ... elation use your custom model. For tests involving models with managed=False , it's up to you to ensure the ... wers matters, you'd do this: from django.db import models class Question ( models . Model ): text = models . ...
https://man.plustar.jp/django/ref/models/options.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT