検索

phrase: max: clip:
target: order:
Results of 31 - 40 of about 189 for return (0.010 sec.)
システムチェックフレームワーク — Django 4.0.6 ドキュメント 6406
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ' , obj = checked_object , id = 'myapp.E001' , ) ) return errors The check function must accept an app_confi ... r future expansion. メッセージ ¶ The function must return a list of messages. If no problems are found as a ... result of the check, the check function must return an empty list. The warnings and errors raised by t ... .. perform compatibility checks and collect errors return errors You can register "deployment checks" that a ...
https://man.plustar.jp/django/topics/checks.html - [similar]
django.core.files.uploadedfile — Django 4.0.6 ドキュメント 6341
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... _extra = content_type_extra def __repr__ ( self ): return "< %s : %s ( %s )>" % ( self . __class__ . __name_ ... me , self . content_type ) def _get_name ( self ): return self . _name def _set_name ( self , name ): # Sani ... [ドキュメント] def temporary_file_path ( self ): """Return the full path of this file.""" return self . file ... . name def close ( self ): try : return self . file . close () except FileNotFoundError : ...
https://man.plustar.jp/django/_modules/django/core/files/uploadedfile.html - [similar]
django.core.management.base — Django 4.0.6 ドキュメント 6319
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n of a command. """ def __init__ ( self , * args , returncode = 1 , ** kwargs ): self . returncode = returnc ... ) ): self . error ( self . missing_args_message ) return super () . parse_args ( args , namespace ) def err ... not None : translation . activate ( saved_locale ) return res return wrapped class DjangoHelpFormatter ( Hel ... ks" , } def _reordered_actions ( self , actions ): return sorted ( actions , key = lambda a : set ( a . opti ...
https://man.plustar.jp/django/_modules/django/core/management/base.html - [similar]
django.utils.log — Django 4.0.6 ドキュメント 6286
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... onnection (), ** kwargs ) def connection ( self ): return get_connection ( backend = self . email_backend , ... , subject ): """ Escape CR and LF characters. """ return subject . replace ( " \n " , " \\ n" ) . replace ( ... g . Filter ): """ A logging filter that checks the return value of a given callable (which takes the record- ... ( self , record ): if self . callback ( record ): return 1 return 0 [ドキュメント] class RequireDebugFalse ...
https://man.plustar.jp/django/_modules/django/utils/log.html - [similar]
ビューを記述する — Django 4.0.6 ドキュメント 6221
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... is a Python function that takes a web request and returns a web response. This response can be the HTML con ... contains whatever arbitrary logic is necessary to return that response. This code can live anywhere you wan ... = "<html><body>It is now %s .</body></html>" % now return HttpResponse ( html ) 1 行ずつコードを見ていきまし ... てください。 エラーを返す ¶ Django provides help for returning HTTP error codes. There are subclasses of HttpR ...
https://man.plustar.jp/django/topics/http/views.html - [similar]
django.core.checks.messages — Django 4.0.6 ドキュメント 6122
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... = obj self . id = id def __eq__ ( self , other ): return isinstance ( other , self . __class__ ) and all ( ... d Field cases because its __str__ # method doesn't return "applabel.modellabel" and cannot be changed. obj = ... \t HINT: %s " % self . hint if self . hint else "" return " %s : %s%s%s " % ( obj , id , self . msg , hint ) ... def __repr__ ( self ): return "< %s : level= %r , msg= %r , hint= %r , obj= %r , ...
https://man.plustar.jp/django/_modules/django/core/checks/messages.html - [similar]
django.core.mail — Django 4.0.6 ドキュメント 6002
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... = False , ** kwds ): """Load an email backend and return an instance of it. If backend is None (default), u ... ort_string ( backend or settings . EMAIL_BACKEND ) return klass ( fail_silently = fail_silently , ** kwds ) ... attach_alternative ( html_message , "text/html" ) return mail . send () [ドキュメント] def send_mass_mail ( ... t_list), send each message to each recipient list. Return the number of emails sent. If from_email is None, ...
https://man.plustar.jp/django/_modules/django/core/mail.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 5903
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ry doesn't have an ordering specified, results are returned from the database in an unspecified order. A par ... verse the order in which a queryset's elements are returned. Calling reverse() a second time restores the or ... nd of a sequence in Python. The above example will return the last item first, then the penultimate item and ... d afterward). distinct() ¶ distinct ( * fields ) ¶ Returns a new QuerySet that uses SELECT DISTINCT in its S ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
The sitemap framework — Django 4.0.6 ドキュメント 5871
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... efreq = "never" priority = 0.5 def items ( self ): return Entry . objects . filter ( is_draft = False ) def ... lastmod ( self , obj ): return obj . pub_date Note: changefreq and priority are c ... stmod was in the example. items() is a method that returns a sequence or QuerySet of objects. The objects re ... tmod , changefreq , and priority ). lastmod should return a datetime . There is no location method in this e ...
https://man.plustar.jp/django/ref/contrib/sitemaps.html - [similar]
File storage API — Django 4.0.6 ドキュメント 5871
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... rnally. get_storage_class ( import_path = None ) ¶ Returns a class or module which implements the storage AP ... t the import_path parameter get_storage_class will return the current default storage system as defined by D ... t the class or module from the given path and will return it if successful. An exception will be raised if t ... e name does not exist. get_created_time ( name ) ¶ Returns a datetime of the system's ctime, i.e. os.path.ge ...
https://man.plustar.jp/django/ref/files/storage.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 NEXT