検索

phrase: max: clip:
target: order:
Results of 181 - 190 of about 231 for import (0.119 sec.)
設定 — Django 4.0.6 ドキュメント 4277
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rs extra information about your server. It is also important to remember that when running with DEBUG turned ... file modes, please note that the 0o prefix is very important: it indicates an octal number, which is the way ... ルの設定ファイルです: from django.utils.translation import gettext_lazy as _ LANGUAGES = [ ( 'de' , _ ( 'Germ ... されていません A string representing the full Python import path to your root URLconf, for example "mydjangoap ...
https://man.plustar.jp/django/ref/settings.html - [similar]
多対一 (many-to-one) 関係 — Django 4.0.6 ドキュメント 4277
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... -one relationship, use ForeignKey : from django.db import models class Reporter ( models . Model ): first_na ... r2 . save () Create an Article: >>> from datetime import date >>> a = Article ( id = None , headline = "Thi ...
https://man.plustar.jp/django/topics/db/examples/many_to_one.html - [similar]
素の SQL 文の実行 — Django 4.0.6 ドキュメント 4277
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... hall() で結果の行を取得します。 例: from django.db import connection def my_custom_sql ( self ): with connec ... 得られる、辞書に似たオブジェクトです: from django.db import connections with connections [ 'my_db_alias' ] . c ... ンデックスでアクセスできて便利です: from collections import namedtuple def namedtuplefetchall ( cursor ): "Ret ...
https://man.plustar.jp/django/topics/db/sql.html - [similar]
ロギング — Django 4.0.6 ドキュメント 4277
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 力するための最低限の設定がこちらです。 settings.py ¶ import os LOGGING = { 'version' : 1 , 'disable_existing_l ... s from just the django named logger: settings.py ¶ import os LOGGING = { 'version' : 1 , 'disable_existing_l ... のようにします。 settings.py ¶ LOGGING_CONFIG = None import logging.config logging . config . dictConfig ( ... ...
https://man.plustar.jp/django/topics/logging.html - [similar]
django.db.transaction — Django 4.0.6 ドキュメント 4236
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ango.db.transaction のソースコード from contextlib import ContextDecorator , contextmanager from django.db i ...
https://man.plustar.jp/django/_modules/django/db/transaction.html - [similar]
django.utils.safestring — Django 4.0.6 ドキュメント 4236
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... into the appropriate entities. """ from functools import wraps class SafeData : def __html__ ( self ): """ ...
https://man.plustar.jp/django/_modules/django/utils/safestring.html - [similar]
How to create custom django-admin commands — Django 4.0.6 ドキュメント 4236
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... に編集してください: from django.core.management.base import BaseCommand , CommandError from polls.models impor ... 訳を無効にします。 from django.core.management.base import BaseCommand , no_translations class Command ( Base ...
https://man.plustar.jp/django/howto/custom-management-commands.html - [similar]
How to configure and use logging — Django 4.0.6 ドキュメント 4236
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... function as suggested in the example below. First, import the Python logging library, and then obtain a logg ... ame of the current Python module as a dotted path: import logging logger = logging . getLogger ( __name__ ) ...
https://man.plustar.jp/django/howto/logging.html - [similar]
Django Deprecation Timeline — Django 4.0.6 ドキュメント 4236
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ngo.utils.dictconfig will be removed. django.utils.importlib will be removed. django.utils.tzinfo will be re ... t app_label . Furthermore, it won't be possible to import them before their application is loaded. In partic ... ular, it won't be possible to import models inside the root package of their applicatio ... questSite and get_current_site() will no longer be importable from django.contrib.sites.models . FastCGI sup ...
https://man.plustar.jp/django/internals/deprecation.html - [similar]
GeoDjango — Django 4.0.6 ドキュメント 4236
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... じめに Setting Up Geographic Data Geographic Models Importing Spatial Data Spatial Queries Putting your data ... ッド 設定 例外 GeoDjango Utilities LayerMapping data import utility OGR Inspection GeoJSON Serializer GeoDjang ...
https://man.plustar.jp/django/ref/contrib/gis/index.html - [similar]