Results of 141 - 150 of about 231 for import (0.104 sec.)
- GeoJSON Serializer — Django 4.0.6 ドキュメント 4565
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
serializers. 実装例: from django.core.serializers import serialize from my_app.models import City serialize ...
-
https://man.plustar.jp/django/ref/contrib/gis/serializers.html
- [similar]
- Django 2.0 リリースノート — Django 4.0.6 ドキュメント 4565
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
した。したがって、URLconf の中では from django.urls import include, path, re_path とインポートができます。 新 ...
ported on PostGIS and SpatiaLite. Any GEOSGeometry imported from GeoJSON now has its SRID set. Added the OSM ...
を使用してください。 from django.contrib.auth.forms import UserChangeForm class MyUserChangeForm ( UserChange ...
を設定してください。 from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import U ...
-
https://man.plustar.jp/django/releases/2.0.html
- [similar]
- テンプレート — Django 4.0.6 ドキュメント 4565
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
engine. Usage example: from django.template.loader import render_to_string rendered = render_to_string ( 'my ...
in django.template.engines : from django.template import engines django_engine = engines [ 'django' ] templ ...
ate loader classes. Each Loader class knows how to import templates from a particular source. Optionally, a ...
2 subdirectory of installed applications. The most important entry in OPTIONS is 'environment' . It's a dott ...
-
https://man.plustar.jp/django/topics/templates.html
- [similar]
- django.utils.functional — Django 4.0.6 ドキュメント 4524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Modules up django.utils.functional のソースコード import copy import itertools import operator from functoo ...
ls import total_ordering , wraps [ドキュメント] class cached ...
-
https://man.plustar.jp/django/_modules/django/utils/functional.html
- [similar]
- FAQ: データベースとモデル — Django 4.0.6 ドキュメント 4524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
以下のコードを実行してください。 >>> from django.db import connection >>> connection . queries [{'sql': 'SELE ...
対して、同じコードを実行できます: >>> from django.db import connections >>> connections [ 'my_db_alias' ] . qu ...
ように reset_queries() を実行します。 from django.db import reset_queries reset_queries () 既存のデータベースで ...
-
https://man.plustar.jp/django/faq/models.html
- [similar]
- GeoDjango Management Commands — Django 4.0.6 ドキュメント 4524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the model that returns the given field name. --no-imports ¶ Suppresses the from django.contrib.gis.db impor ...
t models import statement. --null NULL ¶ Use a comma separated lis ...
-
https://man.plustar.jp/django/ref/contrib/gis/commands.html
- [similar]
- Installing PostGIS — Django 4.0.6 ドキュメント 4524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
r project: from django.contrib.postgres.operations import CreateExtension from django.db import migrations c ...
-
https://man.plustar.jp/django/ref/contrib/gis/install/postgis.html
- [similar]
- GeoDjango Model API — Django 4.0.6 ドキュメント 4524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Model as our examples: from django.contrib.gis.db import models class Zipcode ( models . Model ): code = mo ...
Choosing an appropriate SRID for your model is an important decision that the developer should consider car ...
pe in the query: from django.contrib.gis.db.models import PointField from django.db.models.functions import ...
-
https://man.plustar.jp/django/ref/contrib/gis/model-api.html
- [similar]
- バリデータ — Django 4.0.6 ドキュメント 4524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
許容するバリデータです: from django.core.exceptions import ValidationError from django.utils.translation impo ...
属性を通じて設定することができます: from django.db import models class MyModel ( models . Model ): even_fiel ...
同じバリデータを使用することができます: from django import forms class MyForm ( forms . Form ): even_field = ...
-
https://man.plustar.jp/django/ref/validators.html
- [similar]
- Django 1.3 release notes — Django 4.0.6 ドキュメント 4524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ntage of this alias, simply use: from django.utils import unittest wherever you would have historically used ...
: import unittest If you want to continue to use the base u ...
odel with a FileField named document : from django import forms from myapp.models import Document class Docu ...
y prohibited). However, if avoiding profanities is important to you, you would be well advised to seek out a ...
-
https://man.plustar.jp/django/releases/1.3.html
- [similar]