Results of 1 - 10 of about 22 for registry (0.023 sec.)
- アプリケーション — Django 4.0.6 ドキュメント 13972
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
n class. 注釈 If your code imports the application registry in an application's __init__.py , the name apps wi ...
odule and import it. A workaround is to import the registry under a different name: from django.apps import ap ...
del classes for this application. Requires the app registry to be fully populated. AppConfig. get_model ( mode ...
model exists in this application. Requires the app registry to be fully populated unless the require_ready arg ...
-
https://man.plustar.jp/django/ref/applications.html
- [similar]
- django.utils.module_loading — Django 4.0.6 ドキュメント 13013
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
register_to keyword parameter as a way to access a registry. This register_to object must have a _registry ins ...
app's module. try : if register_to : before_import_registry = copy . copy ( register_to . _registry ) import_m ...
module_to_search )) except Exception : # Reset the registry to the state before the last import # as this impo ...
tions (see #8245). if register_to : register_to . _registry = before_import_registry # Decide whether to bubbl ...
-
https://man.plustar.jp/django/_modules/django/utils/module_loading.html
- [similar]
- Signals — Django 4.0.6 ドキュメント 9292
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ications. Since this signal is sent during the app registry population process, and AppConfig.ready() runs aft ...
er the app registry is fully populated, receivers cannot be connected ...
e not to import models or trigger calls to the app registry. Arguments that are sent with this signal: sender ...
run. It should be used instead of the global apps registry to retrieve the models you want to perform operati ...
-
https://man.plustar.jp/django/ref/signals.html
- [similar]
- django — Django 4.0.6 ドキュメント 8551
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t setting), configure logging and populate the app registry. Set the thread-local urlresolvers script prefix i ...
-
https://man.plustar.jp/django/_modules/django.html
- [similar]
- Django 1.7.2 release notes — Django 4.0.6 ドキュメント 8551
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
as raised every time two models clashed in the app registry. ( #23621 ). Prevented flush from loading initial ...
for custom AdminSite s ( #23497 ). Ensured the app registry is fully populated when unpickling models. When an ...
reloads pickled models, it could crash with an AppRegistryNotReady exception ( #24007 ). Added quoting to fie ...
-
https://man.plustar.jp/django/releases/1.7.2.html
- [similar]
- Django 1.7 release notes — Django 4.0.6 ドキュメント 8333
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
shortcomings. It has been refactored into an "app registry" where models modules no longer have a central rol ...
>> django . setup () Otherwise, you will hit an AppRegistryNotReady exception. WSGI scripts ¶ Until Django 1.3 ...
ed to upgrade to the latter, or you will hit an AppRegistryNotReady exception. App registry consistency ¶ It i ...
hat accesses this setting directly and use the app registry ( django.apps.apps ) instead. The app registry has ...
-
https://man.plustar.jp/django/releases/1.7.html
- [similar]
- django.apps.config — Django 4.0.6 ドキュメント 8232
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
self . module = app_module # Reference to the Apps registry that holds this AppConfig. Set by the # registry w ...
-
https://man.plustar.jp/django/_modules/django/apps/config.html
- [similar]
- マイグレーション操作 — Django 4.0.6 ドキュメント 8232
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
一致している履歴を反映したモデルを含んだ django.apps.registry.Apps のインスタンスであり、第二引数は SchemaEditor ...
ditor ): # We get the model from the versioned app registry; # if we directly import it, it'll be the wrong ve ...
t has an apps property that gives access to an app registry (which you can then call get_model on). database_f ...
-
https://man.plustar.jp/django/ref/migration-operations.html
- [similar]
- Unit tests — Django 4.0.6 ドキュメント 8013
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
registration ¶ To avoid polluting the global apps registry and prevent unnecessary table creation, models def ...
und to a temporary Apps instance: from django.apps.registry import Apps from django.db import models from djan ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm...
- [similar]
- django.core.exceptions — Django 4.0.6 ドキュメント 7912
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
eld does not exist""" pass [ドキュメント] class AppRegistryNotReady ( Exception ): """The django.apps registry ...
-
https://man.plustar.jp/django/_modules/django/core/exceptions.html
- [similar]