Results of 51 - 60 of about 177 for models (0.135 sec.)
- Django 2.2 リリースノート — Django 4.0.6 ドキュメント 5964
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tom database constraints. Constraints are added to models using the Meta.constraints option. マイナーな機能 ...
ation of the command output. inspectdb now creates models for foreign tables on PostgreSQL. inspectdb --incl ...
ude-views now creates models for materialized views on Oracle and PostgreSQL. T ...
pectdb --include-partitions option allows creating models for partition tables on PostgreSQL. In older versi ...
-
https://man.plustar.jp/django/releases/2.2.html
- [similar]
- Signals — Django 4.0.6 ドキュメント 5964
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
These include some useful notifications: django.db.models.signals.pre_save & django.db.models.signals.post_s ...
after a model's save() method is called. django.db.models.signals.pre_delete & django.db.models.signals.post ...
or queryset's delete() method is called. django.db.models.signals.m2m_changed Sent when a ManyToManyField on ...
ded to avoid the application's root module and its models module to minimize side-effects of importing code. ...
-
https://man.plustar.jp/django/topics/signals.html
- [similar]
- PostgreSQL specific model fields — Django 4.0.6 ドキュメント 5930
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
res.fields import ArrayField from django.db import models class ChessBoard ( models . Model ): board = Array ...
Field ( ArrayField ( models . CharField ( max_length = 10 , blank = True ), si ...
res.fields import ArrayField from django.db import models class Board ( models . Model ): pieces = ArrayFiel ...
d ( ArrayField ( models . IntegerField ())) # Valid Board ( pieces = [ [ 2 ...
-
https://man.plustar.jp/django/ref/contrib/postgres/fields.html
- [similar]
- GeoDjango Model API — Django 4.0.6 ドキュメント 5852
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
as our examples: from django.contrib.gis.db import models class Zipcode ( models . Model ): code = models . ...
CharField ( max_length = 5 ) poly = models . PolygonField () class Elevation ( models . Model ...
): name = models . CharField ( max_length = 100 ) rast = models . R ...
etry type in the query: from django.contrib.gis.db.models import PointField from django.db.models.functions ...
-
https://man.plustar.jp/django/ref/contrib/gis/model-api.html
- [similar]
- django-admin と manage.py — Django 4.0.6 ドキュメント 5852
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
me" is the basename of the package containing your models. For example, if your INSTALLED_APPS contains the ...
particular category. For example, to perform only models and compatibility checks, run: django - admin chec ...
k -- tag models -- tag compatibility --database DATABASE ¶ Specifi ...
E , -e EXCLUDE ¶ Prevents specific applications or models (specified in the form of app_label.ModelName ) fr ...
-
https://man.plustar.jp/django/ref/django-admin.html
- [similar]
- Django の例外 — Django 4.0.6 ドキュメント 5852
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
¶ This exception is raised when attempting to use models before the app loading process , which initializes ...
otExist will catch DoesNotExist exceptions for all models. See get() . EmptyResultSet ¶ exception EmptyResul ...
l catch MultipleObjectsReturned exceptions for all models. See get() . SuspiciousOperation ¶ exception Suspi ...
to any additional information provided. exception models. ProtectedError ¶ Raised to prevent deletion of re ...
-
https://man.plustar.jp/django/ref/exceptions.html
- [similar]
- Django 1.1 リリースノート — Django 4.0.6 ドキュメント 5852
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
averse relationships to refer to fields on related models. This is implemented in the new F object; for full ...
ve been added to Django's model layer: "Unmanaged" models ¶ You can now control whether or not Django manage ...
option. プロキシモデル ¶ You can now create proxy models : subclasses of existing models that only add Pyth ...
al data. All the details can be found in the proxy models documentation . This feature is similar on the sur ...
-
https://man.plustar.jp/django/releases/1.1.html
- [similar]
- Django 1.2 リリースノート — Django 4.0.6 ドキュメント 5808
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ntation and it will be used by django.contrib.auth.models.User . See the authentication docs for more inform ...
ere run before the interruption. BigIntegerField ¶ Models can now use a 64-bit BigIntegerField type. Improve ...
enable non-editable fields in add/change pages for models and inlines. Field and calculated values can be di ...
ight look something like: class CustomModelField ( models . Field ): # ... def db_type ( self ): # ... def g ...
-
https://man.plustar.jp/django/releases/1.2.html
- [similar]
- Tablespaces — Django 4.0.6 ドキュメント 5774
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the tables. An example ¶ class TablespaceExample ( models . Model ): name = models . CharField ( max_length ...
_index = True , db_tablespace = "indexes" ) data = models . CharField ( max_length = 255 , db_index = True ) ...
shortcut = models . CharField ( max_length = 7 ) edges = models . Ma ...
class Meta : db_tablespace = "tables" indexes = [ models . Index ( fields = [ 'shortcut' ], db_tablespace = ...
-
https://man.plustar.jp/django/topics/db/tablespaces.html
- [similar]
- django.contrib.auth — Django 4.0.6 ドキュメント 5752
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ックガイド を参照してください。 User モデル ¶ class models. User ¶ フィールド ¶ class models. User User オブジ ...
ォルトでは現在の日時がセットされます。 属性 ¶ class models. User is_authenticated ¶ ( AnonymousUser.is_authen ...
ed を使う方が好ましいと言えます。 メソッド ¶ class models. User get_username () ¶ ユーザのユーザ名を返します ...
呼び出しに渡されます。 マネージャメソッド ¶ class models. UserManager ¶ User モデルは、( BaseUserManager で ...
-
https://man.plustar.jp/django/ref/contrib/auth.html
- [similar]