Results of 1 - 10 of about 20 for literal (0.031 sec.)
- Django 1.0.1 リリースノート — Django 4.0.6 ドキュメント 14104
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
lay . A fix to the application of autoescaping for literal strings passed to the join template filter. Previo ...
usly, literal strings passed to join were automatically escaped, ...
ry to the documented behavior for autoescaping and literal strings . Literal strings passed to join are no lo ...
support , automatically , improvements , strings , literal , including , default , forms , were クイック検索 ...
-
https://man.plustar.jp/django/releases/1.0.1.html
- [similar]
- django.utils.text — Django 4.0.6 ドキュメント 11895
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
can then be further processed with unescape_string_literal()). >>> list(smart_split(r'This is "a person\'s" t ...
|\w{1,8}));" ) @keep_lazy_text def unescape_string_literal ( s ): r """ Convert quoted string literals to unq ...
tes and backslashes unquoted:: >>> unescape_string_literal('"abc"') 'abc' >>> unescape_string_literal("'abc'" ...
) 'abc' >>> unescape_string_literal('"a \"bc\""') 'a "bc"' >>> unescape_string_literal ...
-
https://man.plustar.jp/django/_modules/django/utils/text.html
- [similar]
- django.core.validators — Django 4.0.6 ドキュメント 10485
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
(?:[A-Z0-9-]{2,63}(?<!-))\Z" , re . IGNORECASE , ) literal_regex = _lazy_re_compile ( # literal form, ipv4 or ...
domain_regex . match ( domain_part ): return True literal_match = self . literal_regex . match ( domain_part ...
) if literal_match : ip_address = literal_match [ 1 ] try : val ...
-
https://man.plustar.jp/django/_modules/django/core/validators.html
- [similar]
- The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 8904
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ession like {{ foo.bar }} will be interpreted as a literal string and not using the value of the variable "ba ...
responding Python objects. Limitations with string literals ¶ Django's template language has no way to escape ...
r a {% . This prevents the use of "%}" as a string literal. For example, a TemplateSyntaxError will be raised ...
s: { % include "template.html" tvar = "Some string literal with %} in it." % } { % with tvar = "Some string l ...
-
https://man.plustar.jp/django/ref/templates/api.html
- [similar]
- 翻訳 — Django 4.0.6 ドキュメント 8734
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
me for every extrapolated variable included in the literal. In the examples above, note how we used the name ...
allows you to mark complex sentences consisting of literals and variable content for translation by making us ...
the trimmed option had not been specified. String literals passed to tags and filters ¶ You can translate st ...
ring literals passed as arguments to tags and filters by using ...
-
https://man.plustar.jp/django/topics/i18n/translation.html
- [similar]
- Django 1.1 リリースノート — Django 4.0.6 ドキュメント 8428
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
g behavior ¶ The join filter no longer escapes the literal value that is passed in for the connector. This is ...
ards incompatible for the special situation of the literal string containing one of the five special HTML cha ...
-
https://man.plustar.jp/django/releases/1.1.html
- [similar]
- The Django Template Language — Django 4.0.6 ドキュメント 7953
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ession like {{ foo.bar }} will be interpreted as a literal string and not using the value of the variable "ba ...
もかまいません: {{ data | default :"This is a string literal." }} 文字列リテラルは、すべて自動エスケープ**されず ...
-
https://man.plustar.jp/django/ref/templates/language.html
- [similar]
- Django 1.6 release notes — Django 4.0.6 ドキュメント 7953
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ations after comments ¶ Extraction of translatable literals from templates with the makemessages command now ...
he same line. E.g.: {# A comment #} {% trans "This literal was incorrectly ignored. Not anymore" %} Location ...
needed for SQLite or PostgreSQL databases. Percent literals in cursor.execute queries ¶ When you are running ...
or.execute method, the rule about doubling percent literals ( % ) inside the query has been unified. Past beh ...
-
https://man.plustar.jp/django/releases/1.6.html
- [similar]
- 多対一 (many-to-one) 関係 — Django 4.0.6 ドキュメント 7953
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
a test>]> You can also use a queryset instead of a literal list of instances: >>> Article . objects . filter ...
-
https://man.plustar.jp/django/topics/db/examples/many_to_one.html
- [similar]
- Writing documentation — Django 4.0.6 ドキュメント 7800
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
hinx' documentation. Add .. code-block:: <lang> to literal blocks so that they get highlighted. Prefer relyin ...
-
https://man.plustar.jp/django/internals/contributing/writing-documentation.html
- [similar]