Results of 1 - 10 of about 82 for variable (0.017 sec.)
- The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 14889
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t assumes an understanding of templates, contexts, variables, tags, and rendering. Start with the introduction ...
te system should use for invalid (e.g. misspelled) variables. It defaults to the empty string. See How invalid ...
variables are handled for details. file_charset is the char ...
takes an optional argument — a dictionary mapping variable names to variable values. For details, see Playing ...
-
https://man.plustar.jp/django/ref/templates/api.html
- [similar]
- How to create custom template tags and filters — Django 4.0.6 ドキュメント 11742
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
以下はフィルタがどのように使われるかの例です: {{ somevariable | cut :"0" }} ほとんどのフィルタは引数を取りません ...
n a context that contains home_link and home_title variables that point back to the main page. Here's what the ...
he TemplateSyntaxError exceptions use the tag_name variable. Don't hard-code the tag's name in your error mess ...
f your template tag stores the result in a context variable (rather than returning the result in a string), it ...
-
https://man.plustar.jp/django/howto/custom-template-tags.html
- [similar]
- The Django Template Language — Django 4.0.6 ドキュメント 10571
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
format such as emails, JavaScript and CSV. 変数 ¶ Variables look like this: {{ variable }} . When the templat ...
e engine encounters a variable, it evaluates that variable and replaces it with t ...
he result. Variable names consist of any combination of alphanumeric c ...
y not be a number. The dot ( "." ) also appears in variable sections, although that has a special meaning, as ...
-
https://man.plustar.jp/django/ref/templates/language.html
- [similar]
- Django 1.8 リリースノート — Django 4.0.6 ドキュメント 9399
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
h contains the user-specific header. A new context variable has_permission , which gets its value from has_per ...
he initial dashes) or the final option destination variable name, but in either case, the resulting option rec ...
(it may work, but there's no guarantee). An extra variable that specifies the current Django version is now a ...
The now tag can now store its output in a context variable with the usual syntax: {% now 'j n Y' as varname % ...
-
https://man.plustar.jp/django/releases/1.8.html
- [similar]
- Coding style — Django 4.0.6 ドキュメント 8936
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
characters, even though PEP 8 suggests 72. String variable interpolation may use %-formatting , f-strings , o ...
etion. As a guide, f-strings should use only plain variable and property access, with prior local variable ass ...
er . age * 365.25 } days old' # Allowed with local variable assignment user = get_user () f 'hello { user } ' ...
We loop over". Use underscores, not camelCase, for variable, function and method names (i.e. poll.get_unique_v ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/coding-style.h...
- [similar]
- GeoDjango Installation — Django 4.0.6 ドキュメント 8704
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
set on a per-user basis by setting an environment variable, or by configuring the library path for the entire ...
system. LD_LIBRARY_PATH environment variable ¶ A user may set this environment variable to cust ...
al/lib needs to be included in the LD_LIBRARY_PATH variable. For example, the user could place the following i ...
注釈 You will need to modify the PATH environment variable in your .profile file so that the new version of P ...
-
https://man.plustar.jp/django/ref/contrib/gis/install/index.html
- [similar]
- PostgreSQL specific aggregation functions — Django 4.0.6 ドキュメント 8473
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
= None ) ¶ Returns the average of the independent variable ( sum(x)/N ) as a float , or default if there aren ...
lt = None ) ¶ Returns the average of the dependent variable ( sum(y)/N ) as a float , or default if there aren ...
- sum(x)^2/N ("sum of squares" of the independent variable) as a float , or default if there aren't any match ...
("sum of products" of independent times dependent variable) as a float , or default if there aren't any match ...
-
https://man.plustar.jp/django/ref/contrib/postgres/aggregates.html
- [similar]
- django-admin と manage.py — Django 4.0.6 ドキュメント 8350
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t also sets the DJANGO_SETTINGS_MODULE environment variable so that it points to your project's settings.py fi ...
by setting the DJANGO_SETTINGS_MODULE environment variable, or by passing the --settings option: django - adm ...
by setting the DJANGO_WATCHMAN_TIMEOUT environment variable. When you start the server, and each time you chan ...
script pointed to by the PYTHONSTARTUP environment variable or the ~/.pythonrc.py script is read. --command CO ...
-
https://man.plustar.jp/django/ref/django-admin.html
- [similar]
- 組み込みタグとフィルタ — Django 4.0.6 ドキュメント 8350
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
を親テンプレートの名前として使います。 {% extends variable %} とした場合、変数 variable の値を親テンプレートの ...
ってください。 firstof ¶ Outputs the first argument variable that is not "false" (i.e. exists, is not empty, is ...
numeric value). Outputs nothing if all the passed variables are "false". 使用例: {% firstof var1 var2 var3 %} ...
の優先順位についての詳細は documentation of template variables を参照してください。 for ループには、ループ内で使 ...
-
https://man.plustar.jp/django/ref/templates/builtins.html
- [similar]
- Multiple object mixins — Django 4.0.6 ドキュメント 7887
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. context_object_name ¶ Designates the name of the variable to use in the context. get_queryset () ¶ このビュー ...
playing. If context_object_name is specified, that variable will also be set in the context, with the same val ...
nator . If the page is not paginated, this context variable will be None . page_obj : An instance of django.co ...
.Page . If the page is not paginated, this context variable will be None . MultipleObjectTemplateResponseMixin ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-multiple-object.html
- [similar]