Results of 1 - 10 of about 170 for string (0.005 sec.)
- How to create custom template tags and filters — Django 4.0.6 ドキュメント 10648
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
arg ): """Removes all values of arg from the given string""" return value . replace ( arg , '' ) そして、以下 ...
ower ( value ): # Only one argument. """Converts a string into all lowercase""" return value . lower () 独自 ...
ンプレートフィルタ ¶ django.template.defaultfilters. stringfilter () ¶ 第 1 引数として文字数を要求するだけのテ ...
ンプレートフィルタを記述している場合、デコレータ stringfilter を使う必要があります。これは、関数に渡される ...
-
https://man.plustar.jp/django/howto/custom-template-tags.html
- [similar]
- Django Utils — Django 4.0.6 ドキュメント 10513
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
module share the following properties: They accept strings in ISO 8601 date/time formats (or some close alte ...
t Python supports. parse_date ( value ) ¶ Parses a string and returns a datetime.date . parse_time ( value ) ...
¶ Parses a string and returns a datetime.time . UTC offsets aren't s ...
sult is None . parse_datetime ( value ) ¶ Parses a string and returns a datetime.datetime . UTC offsets are ...
-
https://man.plustar.jp/django/ref/utils.html
- [similar]
- django.utils.text — Django 4.0.6 ドキュメント 10467
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
apfirst ( x ): """Capitalize the first letter of a string.""" if not x : return x if not isinstance ( x , st ...
ne ): if truncate is None : truncate = pgettext ( "String to return when truncating text" , " %(truncated_te ...
ncation text didn't contain the %(truncated_text)s string # replacement argument so just append it to the te ...
` specifies what should be used to notify that the string has been truncated, defaulting to a translatable s ...
-
https://man.plustar.jp/django/_modules/django/utils/text.html
- [similar]
- Unicode data — Django 4.0.6 ドキュメント 9949
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tabase is configured to be able to store arbitrary string data. Normally, this means giving it an encoding o ...
f Django's database backends automatically convert strings into the appropriate encoding for talking to the ...
database. They also automatically convert strings retrieved from the database into strings. You don ...
see the section "The database API" below. General string handling ¶ Whenever you use strings with Django -- ...
-
https://man.plustar.jp/django/ref/unicode.html
- [similar]
- 暗号署名 — Django 4.0.6 ドキュメント 9328
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
signer = Signer () >>> value = signer . sign ( 'My string' ) >>> value 'My string:GdMGD6HNQ_qdgxYP8yBZAdAIV1 ...
ginal = signer . unsign ( value ) >>> original 'My string' If you pass a non-string value to sign , the valu ...
e will be forced to string before being signed, and the unsign result will gi ...
ve you that string value: >>> signed = signer . sign ( 2.5 ) >>> orig ...
-
https://man.plustar.jp/django/topics/signing.html
- [similar]
- GDAL API — Django 4.0.6 ドキュメント 9159
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
es, that may be accessed by passing a special name string instead of a path. For more information, see the O ...
lows you to specify a non-standard encoding of the strings in the source. This is typically useful when you ...
ft . __name__ for ft in layer . field_types ] ['OFTString', 'OFTReal', 'OFTReal', 'OFTDate'] field_widths ¶ ...
hether this layer supports the given capability (a string). Examples of valid capability strings include: 'R ...
-
https://man.plustar.jp/django/ref/contrib/gis/gdal.html
- [similar]
- The syndication feed framework — Django 4.0.6 ドキュメント 9114
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
object itself. These are optional; by default, the string representation of the object is used for both. If ...
() should return the item's URL as a normal Python string. As with get_absolute_url() , the result of item_l ...
tion() methods. In the previous example, they were string class attributes, but this example illustrates tha ...
t they can be either strings or methods. For each of title , link and descript ...
-
https://man.plustar.jp/django/ref/contrib/syndication.html
- [similar]
- django.utils.http — Django 4.0.6 ドキュメント 8414
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
AG_MATCH = _lazy_re_compile ( r """ \A( # start of string and capture group (?:W/)? # optional weak indicato ...
of non-quote characters " # end quote )\Z # end of string and capture group """ , re . X , ) MONTHS = "jan f ...
unction that can operate on MultiValueDict and non-string values. """ if isinstance ( query , MultiValueDict ...
or ( "Cannot encode None for key ' %s ' in a query string. Did you " "mean to pass an empty string or omit t ...
-
https://man.plustar.jp/django/_modules/django/utils/http.html
- [similar]
- django.utils.safestring — Django 4.0.6 ドキュメント 8279
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
of contents | Index | Modules up django.utils.safestring のソースコード """ Functions for working with "saf ...
e strings": strings that can be displayed safely without fu ...
her escaping in HTML. Marking something as a "safe string" means that the producer of the string has already ...
( self ): """ Return the html representation of a string for interoperability. This allows other template e ...
-
https://man.plustar.jp/django/_modules/django/utils/safestring.html
- [similar]
- The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 8155
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ocessors = None , debug = False , loaders = None , string_if_invalid = '' , file_charset = 'utf-8' , librari ...
is a list of template loader classes, specified as strings. Each Loader class knows how to import templates ...
urce. Optionally, a tuple can be used instead of a string. The first item in the tuple should be the Loader ...
ders.cached.Loader . See Loader types for details. string_if_invalid is the output, as a string, that the te ...
-
https://man.plustar.jp/django/ref/templates/api.html
- [similar]