Results of 21 - 30 of about 572 for function (0.053 sec.)
- データベースのトランザクション — Django 4.0.6 ドキュメント 5232
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
らです。 In practice, this feature wraps every view function in the atomic() decorator described below. あなたの ...
ache invalidation. Django provides the on_commit() function to register callback functions that should be exec ...
commit ( func , using = None ) [ソース] ¶ Pass any function (that takes no arguments) to on_commit() : from dj ...
on_commit ( do_something ) You can also wrap your function in a lambda: transaction . on_commit ( lambda : so ...
-
https://man.plustar.jp/django/topics/db/transactions.html
- [similar]
- テンプレート — Django 4.0.6 ドキュメント 5232
- " + 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(); $("section ...
("checked", true); }); $(".c-tab-win").on("click", function() { $("section.c-content-win").show(); $("section. ...
ed when trying to load a template. This is used by functions, such as get_template() , that try to load a give ...
-
https://man.plustar.jp/django/topics/templates.html
- [similar]
- Django 1.3.5 release notes — Django 4.0.6 ドキュメント 5164
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
itself). This comes in two parts: 1. A new utility function, django.utils.http.is_safe_url , is added; this fu ...
or if absolute matches the supplied hostname. This function is intended for use whenever user-supplied redirec ...
-
https://man.plustar.jp/django/releases/1.3.5.html
- [similar]
- Django 1.4.3 release notes — Django 4.0.6 ドキュメント 5164
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
itself). This comes in two parts: 1. A new utility function, django.utils.http.is_safe_url , is added; this fu ...
or if absolute matches the supplied hostname. This function is intended for use whenever user-supplied redirec ...
-
https://man.plustar.jp/django/releases/1.4.3.html
- [similar]
- ページネーション — Django 4.0.6 ドキュメント 5104
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
if %} </ span > </ div > Using Paginator in a view function ¶ Here's an example using Paginator in a view func ...
ズ例 Paginating a ListView Using Paginator in a view function 前のトピックへ ロギング 次のトピックへ Django にお ...
オブジェクト , メソッド , list , count , QuerySet , function クイック検索 Last update: 2022年6月01日 « previous ...
-
https://man.plustar.jp/django/topics/pagination.html
- [similar]
- Django への初めてのパッチを書く — Django 4.0.6 ドキュメント 5036
- " + 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(); $("section ...
("checked", true); }); $(".c-tab-win").on("click", function() { $("section.c-content-win").show(); $("section. ...
r to resolve this ticket, we'll add a make_toast() function to the django.shortcuts module. First we are going ...
-
https://man.plustar.jp/django/intro/contributing.html
- [similar]
- django.utils.translation — Django 4.0.6 ドキュメント 4975
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
utoreload_started , file_changed from django.utils.functional import lazy from django.utils.regex_helper impor ...
e other code creates # a reference to one of these functions, don't break that reference when we # replace the ...
functions with their real counterparts (once we do access t ...
e of this class is to store the actual translation function upon receiving the first call to that function. Af ...
-
https://man.plustar.jp/django/_modules/django/utils/translation.html
- [similar]
- The staticfiles app — Django 4.0.6 ドキュメント 4975
- " + 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(); $("section ...
("checked", true); }); $(".c-tab-win").on("click", function() { $("section.c-content-win").show(); $("section. ...
pment. views. serve ( request , path ) ¶ This view function serves static files in development. 警告 This view ...
-
https://man.plustar.jp/django/ref/contrib/staticfiles.html
- [similar]
- URL ディスパッチャ — Django 4.0.6 ドキュメント 4975
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
mports and calls the given view, which is a Python function (or a class-based view ). The view gets passed the ...
the third entry in the list. Django would call the function views.month_archive(request, year=2005, month=3) . ...
ecial cases like this. Here, Django would call the function views.special_case_2003(request) /articles/2003 wo ...
uld match the final pattern. Django would call the function views.article_detail(request, year=2003, month=3, ...
-
https://man.plustar.jp/django/topics/http/urls.html
- [similar]
- Django 3.2 release notes — Django 4.0.6 ドキュメント 4907
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
O_FIELD docs for details on migrating such tables. Functional indexes ¶ The new *expressions positional argume ...
nt of Index() enables creating functional indexes on expressions and database functions. F ...
els import F , Index , Value from django.db.models.functions import Lower , Upper class MyModel ( models . Mod ...
weight' ) + Value ( 5 )), name = 'calc_idx' , ), ] Functional indexes are added to models using the Meta.index ...
-
https://man.plustar.jp/django/releases/3.2.html
- [similar]