Results of 1 - 10 of about 116 for app (0.028 sec.)
- django.apps.config — Django 4.0.6 ドキュメント 13192
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
me | Table of contents | Index | Modules up django.apps.config のソースコード import inspect import os im ...
oading import import_string , module_has_submodule APPS_MODULE_NAME = "apps" MODELS_MODULE_NAME = "models ...
" [ドキュメント] class AppConfig : """Class representing a Django application ...
and its configuration.""" def __init__ ( self , app_name , app_module ): # Full Python path to the app ...
-
https://man.plustar.jp/django/_modules/django/apps/config.html
- [similar]
- django-admin と manage.py — Django 4.0.6 ドキュメント 10661
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
mation and a list of the commands provided by each application. Run django-admin help --commands to displ ...
given command and a list of its available options. App names ¶ Many commands take a list of "app names." ...
An "app name" is the basename of the package containing yo ...
ur models. For example, if your INSTALLED_APPS contains the string 'mysite.blog' , the app name ...
-
https://man.plustar.jp/django/ref/django-admin.html
- [similar]
- How to configure and use logging — Django 4.0.6 ドキュメント 9947
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
's default logging configuration, the message will appear in the console. The WARNING level used in the e ...
要 Records with a level lower than WARNING will not appear in the console by default. Changing this behavi ...
ditional configuration. You can configure: logger mappings, to determine which records are sent to which ...
rds of level DEBUG and higher. Configure a logger mapping ¶ To send records to this handler, configure a ...
-
https://man.plustar.jp/django/howto/logging.html
- [similar]
- django.core.management.base — Django 4.0.6 ドキュメント 9270
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
turned into a nicely-printed error message to the appropriate output stream (i.e., stderr); as a result, ...
and to run with translations deactivated.""" def wrapped ( * args , ** kwargs ): from django.utils import ...
on . activate ( saved_locale ) return res return wrapped class DjangoHelpFormatter ( HelpFormatter ): """ ...
mized formatter so that command-specific arguments appear in the --help output before arguments common to ...
-
https://man.plustar.jp/django/_modules/django/core/management/base.html
- [similar]
- アプリケーション — Django 4.0.6 ドキュメント 8970
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
モデル のリストもアクセスできます。 このレジストリは apps と呼ばれ、 django.apps :: にあります。 >>> from d ...
jango.apps import apps >>> apps . get_app_config ( 'admin' ) ...
ションのコンテナとして機能します。 アプリケーション (application) という言葉は、何らかの機能を提供する Pyth ...
ドルウェアなどが含まれます。これらは一般に INSTALLED_APPS 設定で有効になり、それ以外では URLconfs、 MIDDLEW ...
-
https://man.plustar.jp/django/ref/applications.html
- [similar]
- How to override templates — Django 4.0.6 ドキュメント 8895
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
に置くことができます。 オーバーライドが含まれている app と project の両方のテンプレートディレクトリがある場 ...
テンプレートをロードしようとします。つまり、 DIRS は APP_DIRS より前に検索されます。 参考 そのようなことをし ...
trying to override the templates for a third-party application called blog , which provides the templates ...
_file__ ) . resolve () . parent . parent INSTALLED_APPS = [ ... , 'blog' , ... , ] TEMPLATES = [ { 'BACKE ...
-
https://man.plustar.jp/django/howto/overriding-templates.html
- [similar]
- Django 1.9 リリースノート — Django 4.0.6 ドキュメント 8556
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ビューの URL が変更されました (デフォルトで /admin/<app>/<model>/<pk>/ にありましたが、新しく /admin/<app> ...
能なアプリケーションのリストを値として持つ available_apps コンテキスト変数が、新たに AdminSite.each_context ...
without including django.contrib.auth in INSTALLED_APPS (doing so raised a deprecation warning in older v ...
実行せずに表示だけできるようになりました。 The startapp command creates an apps.py file. Since it doesn't ...
-
https://man.plustar.jp/django/releases/1.9.html
- [similar]
- Unit tests — Django 4.0.6 ドキュメント 8381
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
olicy to make sure all tests pass at all times. We appreciate any and all contributions to the test suite ...
infrastructure that ships with Django for testing applications. See テストを書いて実行する for an explan ...
and python3 must be on your path and linked to the appropriate version of Python. A list of default envir ...
Script unit tests for functions in certain contrib apps. The JavaScript tests aren't run by default using ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm...
- [similar]
- システムチェックフレームワーク — Django 4.0.6 ドキュメント 8381
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ror or warning. It also provides context and hints applicable to the message, and a unique identifier tha ...
r the issue. Identifiers should follow the pattern applabel.X001 , where X is one of the letters CEWID , ...
errors and so). The number can be allocated by the application, but should be unique within that applicat ...
oleanField s do not accept null values. This check appeared before support for null values was added in D ...
-
https://man.plustar.jp/django/ref/checks.html
- [similar]
- How to create database migrations — Django 4.0.6 ドキュメント 8343
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e: from django.db import migrations def forwards ( apps , schema_editor ): if schema_editor . connection ...
igrate() method of database routers as **hints : myapp/dbrouters.py ¶ class MyRouter : def allow_migrate ...
( self , db , app_label , model_name = None , ** hints ): if 'target ...
g: from django.db import migrations def forwards ( apps , schema_editor ): # Your migration code goes her ...
-
https://man.plustar.jp/django/howto/writing-migrations.html
- [similar]