検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 117 for apps (0.025 sec.)
アプリケーション — Django 4.0.6 ドキュメント 13675
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... モデル のリストもアクセスできます。 このレジストリは apps と呼ばれ、 django.apps :: にあります。 >>> from dj ... ango.apps import apps >>> apps . get_app_config ( 'admin' ) ... ドルウェアなどが含まれます。これらは一般に INSTALLED_APPS 設定で有効になり、それ以外では URLconfs、 MIDDLEWA ... , etc. (which would require adding it to INSTALLED_APPS ). アプリケーションを設定する ¶ アプリケーションを ...
https://man.plustar.jp/django/ref/applications.html - [similar]
Unit tests — Django 4.0.6 ドキュメント 12138
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Script unit tests for functions in certain contrib apps. The JavaScript tests aren't run by default using ... code or external code included in Django). Contrib apps ¶ Tests for contrib apps can be found in the tests ... model registration ¶ To avoid polluting the global apps registry and prevent unnecessary table creation, m ... ed in a test method should be bound to a temporary Apps instance: from django.apps.registry import Apps fr ...
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm... - [similar]
django.apps.config — Django 4.0.6 ドキュメント 10937
" + 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 imp ... oading import import_string , module_has_submodule APPS_MODULE_NAME = "apps" MODELS_MODULE_NAME = "models" ... y'>. self . module = app_module # Reference to the Apps registry that holds this AppConfig. Set by the # r ... y when it registers the AppConfig instance. self . apps = None # The following attributes could be defined ...
https://man.plustar.jp/django/_modules/django/apps/config.html - [similar]
How to create database migrations — Django 4.0.6 ドキュメント 9400
" + 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 . ... g: from django.db import migrations def forwards ( apps , schema_editor ): # Your migration code goes here ... especially important for reusable and third-party apps. Migrations that add unique fields ¶ Applying a "p ... go.db import migrations import uuid def gen_uuid ( apps , schema_editor ): MyModel = apps . get_model ( 'm ...
https://man.plustar.jp/django/howto/writing-migrations.html - [similar]
多対多 (many-to-many) 関係 — Django 4.0.6 ドキュメント 9212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... = Article ( headline = 'Django lets you build web apps easily' ) You can't associate it with a Publicatio ... ValueError : "<Article: Django lets you build web apps easily>" needs to have a value for field "id" befo ... () <QuerySet [<Article: Django lets you build web apps easily>, <Article: NASA uses Python>]> >>> Publica ... 1 ) <QuerySet [<Article: Django lets you build web apps easily>, <Article: NASA uses Python>]> >>> Article ...
https://man.plustar.jp/django/topics/db/examples/many_to_many.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 8625
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , you must set up DATABASE_ROUTERS for all of your apps' models, including those in any contrib and third- ... party apps you're using, so that no queries are routed to the ... bases: one for the auth application, and all other apps using a primary/replica setup with two read replic ... nows to send queries for the auth and contenttypes apps to auth_db ( auth models are linked to ContentType ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 8262
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d). initial_data fixtures are no longer loaded for apps with migrations; if you want to load initial data ... migration. Test rollback behavior is different for apps with migrations; in particular, Django will no lon ... specifically requested . It is not advised to have apps without migrations depend on (have a ForeignKey or ... ManyToManyField to) apps with migrations. App-loading refactor ¶ Historical ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
django — Django 4.0.6 ドキュメント 8087
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... pt prefix if `set_prefix` is True. """ from django.apps import apps from django.conf import settings from ... T_NAME is None else settings . FORCE_SCRIPT_NAME ) apps . populate ( settings . INSTALLED_APPS ) クイック検 ...
https://man.plustar.jp/django/_modules/django.html - [similar]
Django 1.7.2 release notes — Django 4.0.6 ドキュメント 7850
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ented flush from loading initial data for migrated apps ( #23699 ). Fixed a makemessages regression in 1.7 ... ded unnecessary rollbacks of migrations from other apps when migrating backwards ( #23410 ). Fixed a rare ... ( #23983 ). Restored the pre_migrate signal if all apps have migrations ( #23975 ). Made admin system chec ... ns questioner ( #23998 ). Fixed admindocs crash on apps installed as eggs ( #23525 ). Changed migrations a ...
https://man.plustar.jp/django/releases/1.7.2.html - [similar]
Advanced testing topics — Django 4.0.6 ドキュメント 7487
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... gs() . This option may be preferable in standalone apps that can't package their own settings file or for ... ansactionTestCase ¶ TransactionTestCase. available_apps ¶ 警告 This attribute is a private API. It may be ... different applications. デフォルトでは、 available_apps は None に設定されています。各テスト後、Django は ... は、モデル数に比例して増大します。 Setting available_apps to a list of applications instructs Django to beha ...
https://man.plustar.jp/django/topics/testing/advanced.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT