Results of 11 - 20 of about 33 for func (0.035 sec.)
- django.db.utils — Django 4.0.6 ドキュメント 7957
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ion import BaseConnectionHandler from django.utils.functional import cached_property from django.utils.mod ...
( traceback ) from exc_value def __call__ ( self , func ): # Note that we are intentionally not using @wra ...
f inner ( * args , ** kwargs ): with self : return func ( * args , ** kwargs ) return inner def load_backe ...
ers . append ( router ) return routers def _router_func ( action ): def _route_db ( self , model , ** hint ...
-
https://man.plustar.jp/django/_modules/django/db/utils.html
- [similar]
- django.db.transaction — Django 4.0.6 ドキュメント 7668
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
llback = True raise [ドキュメント] def on_commit ( func , using = None ): """ Register `func` to be called ...
itted. If the current transaction is rolled back, `func` will not be called. """ get_connection ( using ) ...
. on_commit ( func ) ################################# # Decorators / ...
tor, __call__ wraps the execution of the decorated function in the instance itself, used as a context mana ...
-
https://man.plustar.jp/django/_modules/django/db/transaction.html
- [similar]
- マイグレーション操作 — Django 4.0.6 ドキュメント 7620
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
す。 You are advised to write the code as a separate function above the Migration class in the migration fil ...
del: from django.db import migrations def forwards_func ( apps , schema_editor ): # We get the model from ...
( name = "France" , code = "fr" ), ]) def reverse_func ( apps , schema_editor ): # forwards_func() create ...
s two Country instances, # so reverse_func() should delete them. Country = apps . get_model ( ...
-
https://man.plustar.jp/django/ref/migration-operations.html
- [similar]
- Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 7524
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
' % request . path ) # ... user_passes_test ( test_func , login_url = None , redirect_field_name = 'next' ...
u can use the UserPassesTestMixin to do this. test_func () ¶ You have to override the test_func() method o ...
ss MyView ( UserPassesTestMixin , View ): def test_func ( self ): return self . request . user . email . e ...
ndswith ( '@example.com' ) get_test_func () ¶ You can also override the get_test_func() met ...
-
https://man.plustar.jp/django/topics/auth/default.html
- [similar]
- JavaScript — Django 4.0.6 ドキュメント 7379
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tml(" " + filtername + " "); } }); }); })(jQuery);(function($) { $(document).ready(function() { $(".c-tab- ...
unix").on("click", function() { $("section.c-content-unix").show(); $("sec ...
("checked", true); }); $(".c-tab-win").on("click", function() { $("section.c-content-win").show(); $("sect ...
click handler, use $('body').on('click', selector, func) instead of $(selector).click(func) . This makes i ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/javascript.htm...
- [similar]
- PostgreSQL specific database constraints — Django 4.0.6 ドキュメント 7331
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
hould write an expression that uses the equivalent function (e.g. TsTzRange() ), and use the delimiters fo ...
ango.db import models from django.db.models import Func , Q class TsTzRange ( Func ): function = 'TSTZRANG ...
例 前のトピックへ PostgreSQL specific aggregation functions 次のトピックへ PostgreSQL specific query expr ...
-
https://man.plustar.jp/django/ref/contrib/postgres/constraints.html
- [similar]
- django.urls utility functions — Django 4.0.6 ドキュメント 7283
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
dules « previous | up | next » django.urls utility functions ¶ reverse() ¶ If you need to use something si ...
te tag in your code, Django provides the following function: reverse ( viewname , urlconf = None , args = ...
) raises a NoReverseMatch exception. The reverse() function can reverse a large variety of regular express ...
's URLConf is loaded. Some common cases where this function is necessary are: providing a reversed URL as ...
-
https://man.plustar.jp/django/ref/urlresolvers.html
- [similar]
- django.utils.log — Django 4.0.6 ドキュメント 7251
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ng_config : # First find the logging configuration function ... logging_config_func = import_string ( logg ...
ging settings if logging_settings : logging_config_func ( logging_settings ) [ドキュメント] class AdminEma ...
-
https://man.plustar.jp/django/_modules/django/utils/log.html
- [similar]
- Lookup API reference — Django 4.0.6 ドキュメント 7251
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
to override the generation of the SQL string. See Func.as_sql() for example usage. as_vendorname ( compil ...
>__<transform1>__<transform2> . It's a specialized Func() expression that only accepts one argument. It ca ...
-
https://man.plustar.jp/django/ref/models/lookups.html
- [similar]
- Django Utils — Django 4.0.6 ドキュメント 7251
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. django.utils.cache ¶ This module contains helper functions for controlling HTTP caching. It does so by m ...
anaging the Vary header of responses. It includes functions to patch the header of response objects direc ...
tly and decorators that change functions to do that header-patching themselves. For in ...
atch_cache_control ( response , ** kwargs ) ¶ This function patches the Cache-Control header by adding all ...
-
https://man.plustar.jp/django/ref/utils.html
- [similar]