検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 78 for handle (0.022 sec.)
django.core.management.base — Django 4.0.6 ドキュメント 16502
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... raise CommandError ( "Error: %s " % message ) def handle_default_options ( options ): """ Include any defau ... s should accept here so that ManagementUtility can handle them before searching for user commands. """ if op ... ( 0 , options . pythonpath ) def no_translations ( handle_func ): """Decorator that forces a command to run ... age () translation . deactivate_all () try : res = handle_func ( * args , ** kwargs ) finally : if saved_loc ...
https://man.plustar.jp/django/_modules/django/core/management/base.html - [similar]
How to create custom django-admin commands — Django 4.0.6 ドキュメント 12300
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ment ( 'poll_ids' , nargs = '+' , type = int ) def handle ( self , * args , ** options ): for poll_id in opt ... closepoll <poll_ids> と実行する事で利用できます。 handle() メソッドは一つ以上の poll_ids を受け取り、それぞ ... help = 'Delete poll instead of closing it' , ) def handle ( self , * args , ** options ): # ... if options [ ... oll . delete () # ... オプション(例では delete )は handle メソッドで辞書型変数の引数として利用可能です。 add ...
https://man.plustar.jp/django/howto/custom-management-commands.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 8003
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ial integrity problems that Django can't currently handle. The primary/replica (referred to as master/slave ... r' , 'PASSWORD' : 'bacon' , }, } Now we'll need to handle routing. First we want a router that knows to send ... ostly Harmless' ) This example defined a router to handle interaction with models from the auth app, and oth ... er routers to handle interaction with all other apps. If you left your ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
ファイルのアップロード — Django 4.0.6 ドキュメント 8003
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... orms import UploadFileForm # Imaginary function to handle an uploaded file. from somewhere import handle_upl ... . POST , request . FILES ) if form . is_valid (): handle_uploaded_file ( request . FILES [ 'file' ]) return ... ハンドルする一般的な方法は、次のようになります。 def handle_uploaded_file ( f ): with open ( 'some/file/name.t ... t ContentFile class MyCommand ( BaseCommand ): def handle ( self , * args , ** options ): content_file = Con ...
https://man.plustar.jp/django/topics/http/file-uploads.html - [similar]
django.core.files.uploadhandler — Django 4.0.6 ドキュメント 7892
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tents | Index | Modules up django.core.files.uploadhandler のソースコード """ Base file upload handler class ... xception" , "StopUpload" , "SkipFile" , "FileUploadHandler" , "TemporaryFileUploadHandler" , "MemoryFileUplo ... adHandler" , "load_handler" , "StopFutureHandlers" , ] clas ... ption ): """ This exception is raised by an upload handler that wants to skip a given file. """ pass class S ...
https://man.plustar.jp/django/_modules/django/core/files/uploadhandler.html - [similar]
How to deploy Django — Django 4.0.6 ドキュメント 7892
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e developed. You should also consider how you will handle static files for your application, and how to hand ...
https://man.plustar.jp/django/howto/deployment/index.html - [similar]
Django 1.4.13 release notes — Django 4.0.6 ドキュメント 7892
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n Windows XP or Windows Server 2003) are unable to handle the Vary header in combination with many content t ... in is_safe_url() has been tightened to be able to handle and correctly validate these malformed URLs. 目次 ...
https://man.plustar.jp/django/releases/1.4.13.html - [similar]
Django 1.5.8 release notes — Django 4.0.6 ドキュメント 7892
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n Windows XP or Windows Server 2003) are unable to handle the Vary header in combination with many content t ... in is_safe_url() has been tightened to be able to handle and correctly validate these malformed URLs. 目次 ...
https://man.plustar.jp/django/releases/1.5.8.html - [similar]
Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 7892
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... over a wire, but it's possible for a serializer to handle any format (text-based or not). 参考 If you just w ... coder for encoding. A subclass of JSONEncoder , it handles these additional types: datetime A string of the ... glas" , "last_name" : "Adams" } }, ... In order to handle this situation, you need to pass handle_forward_re ... obj in serializers . deserialize ( 'xml' , data , handle_forward_references = True ): obj . save () if obj ...
https://man.plustar.jp/django/topics/serialization.html - [similar]
django.utils.html — Django 4.0.6 ドキュメント 7782
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... refs = False ) self . reset () self . fed = [] def handle_data ( self , d ): self . fed . append ( d ) def h ... ame ): self . fed . append ( "& %s ;" % name ) def handle_charref ( self , name ): self . fed . append ( "&# ... = RFC3986_SUBDELIMS + RFC3986_GENDELIMS + "~" ) # Handle IDN before quoting. try : scheme , netloc , path , ...
https://man.plustar.jp/django/_modules/django/utils/html.html - [similar]
PREV 1 2 3 4 5 6 7 8 NEXT