検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 189 for return (0.024 sec.)
django.utils.functional — Django 4.0.6 ドキュメント 9544
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , cls = None ): """ Call the function and put the return value in instance.__dict__ so that subsequent attr ... ibute access on the instance returns the cached value instead of calling cached_proper ... ty.__get__(). """ if instance is None : return self res = instance . __dict__ [ self . name ] = s ... elf . func ( instance ) return res [ドキュメント] class classproperty : """ Decor ...
https://man.plustar.jp/django/_modules/django/utils/functional.html - [similar]
django.core.paginator — Django 4.0.6 ドキュメント 8976
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... EmptyPage ( _ ( "That page contains no results" )) return number [ドキュメント] def get_page ( self , number ... ): """ Return a valid page, even if the page argument isn't a nu ... r = 1 except EmptyPage : number = self . num_pages return self . page ( number ) [ドキュメント] def page ( s ... elf , number ): """Return a Page object for the given 1-based page number."" ...
https://man.plustar.jp/django/_modules/django/core/paginator.html - [similar]
django.utils.text — Django 4.0.6 ドキュメント 8877
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... talize the first letter of a string.""" if not x : return x if not isinstance ( x , str ): x = str ( x ) ret ... width + 1 or width ), width ) if line : yield line return "" . join ( _generator ()) class Truncator ( Simpl ... runcate is None : truncate = pgettext ( "String to return when truncating text" , " %(truncated_text)s …" ) ... if " %(truncated_text)s " in truncate : return truncate % { "truncated_text" : text } # The trunc ...
https://man.plustar.jp/django/_modules/django/utils/text.html - [similar]
django.utils.translation — Django 4.0.6 ドキュメント 8877
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... self , real_name , getattr ( trans , real_name )) return getattr ( trans , real_name ) _trans = Trans () # ... Trans [ドキュメント] def gettext_noop ( message ): return _trans . gettext_noop ( message ) [ドキュメント] d ... ef gettext ( message ): return _trans . gettext ( message ) [ドキュメント] def ng ... ettext ( singular , plural , number ): return _trans . ngettext ( singular , plural , number ) [ ...
https://man.plustar.jp/django/_modules/django/utils/translation.html - [similar]
django.utils.encoding — Django 4.0.6 ドキュメント 8757
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... per () . __init__ ( * args ) def __str__ ( self ): return " %s . You passed in %r ( %s )" % ( super () . __s ... , strings_only = False , errors = "strict" ): """ Return a string representing 's'. Treat bytestrings using ... The input is the result of a gettext_lazy() call. return s return force_str ( s , encoding , strings_only , ... s when passed to force_str(strings_only=True). """ return isinstance ( obj , _PROTECTED_TYPES ) [ドキュメント ...
https://man.plustar.jp/django/_modules/django/utils/encoding.html - [similar]
django.utils.http — Django 4.0.6 ドキュメント 8757
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... item ) query_params . append (( key , query_val )) return original_urlencode ( query_params , doseq ) [ドキュ ... in the format 'Wdy, DD Mon YYYY HH:MM:SS GMT'. """ return formatdate ( epoch_seconds , usegmt = True ) def p ... if only the first one is still in widespread use. Return an integer expressed in seconds since the epoch, i ... r , month , day , hour , min , sec , tzinfo = tz ) return int ( result . timestamp ()) except Exception as e ...
https://man.plustar.jp/django/_modules/django/utils/http.html - [similar]
django.core.files.base — Django 4.0.6 ドキュメント 8724
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ): self . mode = file . mode def __str__ ( self ): return self . name or "" def __repr__ ( self ): return "< ... __name__ , self or "None" ) def __bool__ ( self ): return bool ( self . name ) def __len__ ( self ): return ... ize ( self ): if hasattr ( self . file , "size" ): return self . file . size if hasattr ( self . file , "nam ... e" ): try : return os . path . getsize ( self . file . name ) except ...
https://man.plustar.jp/django/_modules/django/core/files/base.html - [similar]
django.utils.html — Django 4.0.6 ドキュメント 8659
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lazy ( str , SafeString ) def escape ( text ): """ Return the given text with ampersands, quotes and angle b ... s a concern, use conditional_escape() instead. """ return mark_safe ( html . escape ( str ( text ))) _js_esc ... ncode characters for use in JavaScript strings.""" return mark_safe ( str ( value ) . translate ( _js_escape ... JSONEncoder ) . translate ( _json_script_escapes ) return format_html ( '<script id=" {} " type="application ...
https://man.plustar.jp/django/_modules/django/utils/html.html - [similar]
django.contrib.gis.measure — Django 4.0.6 ドキュメント 8626
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mal ) AREA_PREFIX = "sq_" def pretty_name ( obj ): return obj . __name__ if obj . __class__ == type else obj ... lt_unit = default_unit def _get_standard ( self ): return getattr ( self , self . STANDARD_UNIT ) def _set_s ... tattr__ ( self , name ): if name in self . UNITS : return self . standard / self . UNITS [ name ] else : rai ... wn unit type: %s " % name ) def __repr__ ( self ): return " %s ( %s = %s )" % ( pretty_name ( self ), self . ...
https://man.plustar.jp/django/_modules/django/contrib/gis/measure.html - [similar]
django.utils.decorators — Django 4.0.6 ドキュメント 8626
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... available only on the class, not on instances." ) return super () . __get__ ( instance , cls ) def _update_ ... n decorators : bound_method = dec ( bound_method ) return bound_method ( * args , ** kwargs ) # Copy any att ... ing the name. update_wrapper ( _wrapper , method ) return _wrapper [ドキュメント] def method_decorator ( dec ... ef _dec ( obj ): if not isinstance ( obj , type ): return _multi_decorate ( decorator , obj ) if not ( name ...
https://man.plustar.jp/django/_modules/django/utils/decorators.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT