Results of 171 - 180 of about 231 for import (0.136 sec.)
- OGR Inspection — Django 4.0.6 ドキュメント 4349
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
grinspect mapping 前のトピックへ LayerMapping data import utility 次のトピックへ GeoJSON Serializer 関連キー ...
-
https://man.plustar.jp/django/ref/contrib/gis/ogrinspect.html
- [similar]
- Constraints reference — Django 4.0.6 ドキュメント 4349
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
b.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 ...
ble.IMMEDIATE . For example: from django.db.models import Deferrable , UniqueConstraint UniqueConstraint ( n ...
-
https://man.plustar.jp/django/ref/models/constraints.html
- [similar]
- Model _meta API — Django 4.0.6 ドキュメント 4349
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ill be raised. >>> from django.contrib.auth.models import User # A field on the model >>> User . _meta . get ...
rt with a "+". >>> from django.contrib.auth.models import User >>> User . _meta . get_fields () (<ManyToOneR ...
-
https://man.plustar.jp/django/ref/models/meta.html
- [similar]
- 一対一 (one-to-one) 関係 — Django 4.0.6 ドキュメント 4349
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ce optionally can be a Restaurant : from django.db import models class Place ( models . Model ): name = mode ...
ciated restaurant: >>> from django.core.exceptions import ObjectDoesNotExist >>> try : >>> p2 . restaurant > ...
-
https://man.plustar.jp/django/topics/db/examples/one_to_one.html
- [similar]
- マイグレーション操作 — Django 4.0.6 ドキュメント 4308
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
initial objects on a Country model: from django.db import migrations def forwards_func ( apps , schema_edito ...
from the versioned app registry; # if we directly import it, it'll be the wrong version Country = apps . ge ...
ものです: from django.db.migrations.operations.base import Operation class MyCustomOperation ( Operation ): # ...
command: from django.db.migrations.operations.base import Operation class LoadExtension ( Operation ): rever ...
-
https://man.plustar.jp/django/ref/migration-operations.html
- [similar]
- Django 1.11 リリースノート — Django 4.0.6 ドキュメント 4308
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ystem timezone, you can use tzlocal : from tzlocal import get_localzone TIME_ZONE = get_localzone () . zone ...
alse にセットしてください。 無用な BaseCommand.can_import_settings 属性が削除されました。 ドキュメント化され ...
verse() を使用してください。例えば: from django.db import models class MyModel ( models . Model ): ... @mode ...
. slug ]) は、以下のようになります: from django.db import models from django.urls import reverse class MyMod ...
-
https://man.plustar.jp/django/releases/1.11.html
- [similar]
- Django 1.6 release notes — Django 4.0.6 ドキュメント 4308
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
mands that ask for it by using the BaseCommand.can_import_settings internal option is now performed independ ...
also slightly changed the way that test models are imported. As a result, any test that overrides AUTH_USER_ ...
ts.custom_user.ExtensionUser ) must now explicitly import the User model in your test module: from django.co ...
ntrib.auth.tests.custom_user import CustomUser @override_settings ( AUTH_USER_MODEL = ...
-
https://man.plustar.jp/django/releases/1.6.html
- [similar]
- Django 2.2 リリースノート — Django 4.0.6 ドキュメント 4308
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
, in older versions of Django: from django.contrib import admin class BaseAdmin ( admin . ModelAdmin ): acti ...
ases ¶ In usage like: from django.utils.functional import cached_property class A : @cached_property def bas ...
rent names ('base' and 'alias'). Use this instead: import operator class A : ... alias = property ( operator ...
-
https://man.plustar.jp/django/releases/2.2.html
- [similar]
- Djangoソースコードレポジトリ — Django 4.0.6 ドキュメント 4277
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the directory containing your clone on your Python import path. Then import statements which look for Django ...
-
https://man.plustar.jp/django/internals/git.html
- [similar]
- 高度なチュートリアル: 再利用可能アプリの書き方 — Django 4.0.6 ドキュメント 4277
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
通称 "モジュール" ) を1つ以上含みます。 パッケージは import foo.bar または from foo import bar でインポートでき ...
ppropriate django-polls/setup.py ¶ from setuptools import setup setup () Only Python modules and packages ar ...
-
https://man.plustar.jp/django/intro/reusable-apps.html
- [similar]