Results of 11 - 20 of about 64 for manager (0.028 sec.)
- システムチェックフレームワーク — Django 4.0.6 ドキュメント 7552
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
, Tags . security , deploy = True ) Field, model, manager, and database checks ¶ In some cases, you won't ne ...
on an existing registration. Fields, models, model managers, and database backends all implement a check() me ...
t return [] If you wanted to add checks to a model manager, you would take the same approach on your subclass ...
of Manager . If you want to add a check to a model class, the ...
-
https://man.plustar.jp/django/topics/checks.html
- [similar]
- Related objects reference — Django 4.0.6 ドキュメント 7509
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
| next » Related objects reference ¶ class RelatedManager ¶ A "related manager" is a manager used in a one-t ...
xample, the methods below will be available on the manager blog.entry_set . Both sides of a ManyToManyField r ...
he bulk=False argument to instead have the related manager perform the update by calling e.save() . Using add ...
-
https://man.plustar.jp/django/ref/models/relations.html
- [similar]
- Database instrumentation — Django 4.0.6 ドキュメント 7452
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ware do. Installing a wrapper is done in a context manager -- so the wrappers are temporary and specific to s ...
¶ execute_wrapper ( wrapper ) ¶ Returns a context manager which, when entered, installs a wrapper around dat ...
every query execution in the scope of the context manager, with arguments execute , sql , params , many , an ...
-
https://man.plustar.jp/django/topics/db/instrumentation.html
- [similar]
- Django Deprecation Timeline — Django 4.0.6 ドキュメント 7409
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ipIfCustomUser() decorator will be removed. The GeoManager and GeoQuerySet classes will be removed. The djang ...
be removed. The shim for supporting custom related manager classes without a _apply_rel_filters() method will ...
ge to use django.utils.html.conditional_escape() . Manager.use_for_related_fields will be removed. Model Mana ...
nce will follow MRO inheritance rules and the Meta.manager_inheritance_from_future to opt-in to this behavior ...
-
https://man.plustar.jp/django/internals/deprecation.html
- [similar]
- django.db.transaction — Django 4.0.6 ドキュメント 7351
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ド from contextlib import ContextDecorator , contextmanager from django.db import ( DEFAULT_DB_ALIAS , Databas ...
tion ( using ) . set_rollback ( rollback ) @contextmanager def mark_for_rollback_on_error ( using = None ): " ...
########################### # Decorators / context managers # ################################# class Atomic ...
can be used either as a decorator or as a context manager. When it's used as a decorator, __call__ wraps the ...
-
https://man.plustar.jp/django/_modules/django/db/transaction.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 7294
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
store the old behavior, use a custom comment model manager to exclude the user group, like this: from django. ...
conf import settings from django.contrib.comments.managers import CommentManager class BanningCommentManager ...
( CommentManager ): def get_query_set ( self ): qs = super () . get ...
here , params = params ) return qs Save this model manager in your custom comment app (e.g., in my_comments_a ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- asgiref.sync — Django 4.0.6 ドキュメント 7136
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
) class ThreadSensitiveContext : """Async context manager to manage context for thread sensitive mode This c ...
ontext manager controls which thread pool executor is used when i ...
Python 3.7+, the ThreadSensitiveContext() context manager may be used to specify a thread pool per context. ...
This context manager is re-entrant, so only the outer-most call to Thre ...
-
https://man.plustar.jp/django/_modules/asgiref/sync.html
- [similar]
- How is Django Formed? — Django 4.0.6 ドキュメント 7093
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
This is typically done by a separate translation's manager rather than the releaser, but here are the steps. ...
rom gpg --list-keys --keyid-format LONG ), release manager's GitHub username, release URL, and checksums: Thi ...
are. You will also need to have the Django release manager's public key in your keyring. This key has the ID ...
the GitHub API: curl https://github.com/<<RELEASE MANAGER GITHUB USERNAME>>.gpg | gpg --import - Once the ke ...
-
https://man.plustar.jp/django/internals/howto-release-django.html
- [similar]
- テストツール — Django 4.0.6 ドキュメント 7035
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e = False ) ¶ New in Django 3.2. Returns a context manager that captures transaction.on_commit() callbacks fo ...
, all the callbacks will be called as the context manager exits, if no exception occurred. This emulates a c ...
use case Django provides a standard Python context manager (see PEP 343 ) called settings() , which can be us ...
ent. Django provides the modify_settings() context manager for easier settings changes: from django.test impo ...
-
https://man.plustar.jp/django/topics/testing/tools.html
- [similar]
- GeoDjango Installation — Django 4.0.6 ドキュメント 6978
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_EXPAND_SZ /f /d " %PAT ...
ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v GDAL_DATA /t REG_EXPAND_SZ /f /d " ...
ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v PROJ_LIB /t REG_EXPAND_SZ /f /d " ...
-
https://man.plustar.jp/django/ref/contrib/gis/install/index.html
- [similar]