検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 33 for filename (0.024 sec.)
File storage API — Django 4.0.6 ドキュメント 14631
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... () method will not raise an exception if the given file name does not exist. get_created_time ( name ) ¶ Retur ... ( file_root , file_ext ) ¶ Returns an alternative filename based on the file_root and file_ext parameters, an ... 7 character alphanumeric string is appended to the filename before the extension. get_available_name ( name , ... max_length = None ) ¶ Returns a filename based on the name parameter that's free and availa ...
https://man.plustar.jp/django/ref/files/storage.html - [similar]
django.core.mail.message — Django 4.0.6 ドキュメント 12674
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... y ) . send_messages ([ self ]) def attach ( self , filename = None , content = None , mimetype = None ): """ A ... ttach a file with the given filename and content. The filename can be omitted and the m ... and don't decode the content. """ if isinstance ( filename , MIMEBase ): if content is not None or mimetype i ... ance is provided." ) self . attachments . append ( filename ) elif content is None : raise ValueError ( "conte ...
https://man.plustar.jp/django/_modules/django/core/mail/message.html - [similar]
How is Django Formed? — Django 4.0.6 ドキュメント 10123
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... is imported, verify this file: gpg --verify <<THIS FILENAME>> Once you have verified this file, you can use no ... /www.djangoproject.com/m/releases/<<RELEASE TAR.GZ FILENAME>> https://www.djangoproject.com/m/releases/<<RELEA ... SE WHL FILENAME>> MD5 checksums: ============== <<MD5SUM>> <<RELEA ... SE TAR.GZ FILENAME>> <<MD5SUM>> <<RELEASE WHL FILENAME>> SHA1 checksu ...
https://man.plustar.jp/django/internals/howto-release-django.html - [similar]
django.utils.module_loading — Django 4.0.6 ドキュメント 8952
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... if len ( paths ) == 1 : return paths [ 0 ] else : filename = getattr ( module , "__file__" , None ) if filena ... me is not None : return os . path . dirname ( filename ) raise ValueError ( "Cannot determine directory c ...
https://man.plustar.jp/django/_modules/django/utils/module_loading.html - [similar]
How to create PDF files — Django 4.0.6 ドキュメント 8759
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... urn FileResponse ( buffer , as_attachment = True , filename = 'hello.pdf' ) コードとコメントが自分自身の意味を ... lly set the MIME type application/pdf based on the filename extension. This tells browsers that the document i ... ured to use for PDFs. You can provide an arbitrary filename parameter. It'll be used by browsers in the "Save ...
https://man.plustar.jp/django/howto/outputting-pdf.html - [similar]
How to configure and use logging — Django 4.0.6 ドキュメント 8262
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... : { 'file' : { 'class' : 'logging.FileHandler' , 'filename' : 'general.log' , }, }, } Different handler class ... bove, adding: { 'class' : 'logging.FileHandler' , 'filename' : 'general.log' , 'level' : 'DEBUG' , } would def ... : { 'file' : { 'class' : 'logging.FileHandler' , 'filename' : 'general.log' , 'formatter' : 'verbose' , }, }, ...
https://man.plustar.jp/django/howto/logging.html - [similar]
How to create CSV output — Django 4.0.6 ドキュメント 8262
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , headers = { 'Content-Disposition' : 'attachment; filename="somefilename.csv"' }, ) writer = csv . writer ( r ... , headers = { 'Content-Disposition' : 'attachment; filename="somefilename.csv"' }, ) テンプレートシステムを使う ... , headers = { 'Content-Disposition' : 'attachment; filename="somefilename.csv"' }, ) # The data is hard-coded ...
https://man.plustar.jp/django/howto/outputting-csv.html - [similar]
django.apps.config — Django 4.0.6 ドキュメント 8069
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... module , "__path__" , [])) if len ( paths ) != 1 : filename = getattr ( module , "__file__" , None ) if filena ... me is not None : paths = [ os . path . dirname ( filename )] else : # For unknown reasons, sometimes the lis ...
https://man.plustar.jp/django/_modules/django/apps/config.html - [similar]
django.core.files.uploadedfile — Django 4.0.6 ドキュメント 8069
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... name def _set_name ( self , name ): # Sanitize the file name so that it can't be dangerous. if name is not Non ... dangerous. name = os . path . basename ( name ) # File names longer than 255 characters can cause problems on ... UploadedFile object from a dictionary with keys: - filename - content-type - content """ return cls ( file_dic ... t [ "filename" ], file_dict [ "content" ], file_dict . get ( "co ...
https://man.plustar.jp/django/_modules/django/core/files/uploadedfile.html - [similar]
Django 1.10 リリースノート — Django 4.0.6 ドキュメント 7973
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... local timezone otherwise. The new Storage.generate_filename() method makes it easier to implement custom stora ... ate FileField methods get_directory_name() and get_filename() are no longer called (and are now deprecated) wh ... s. To adapt such code, override FileField.generate_filename() or Storage.generate_filename() instead. It might ... ate FileField methods get_directory_name() and get_filename() are deprecated in favor of performing this work ...
https://man.plustar.jp/django/releases/1.10.html - [similar]
PREV 1 2 3 4 NEXT