per page, with , order by , clip by
Results of 1 - 10 of about 94 for handle (0.002 sec.)
カスタム django-admin コマンドの作り方 — Django 6.1 ドキュメント 12961
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタム django-admin コマンドの作り方 ¶ manage.py を用いることで独自のアクションを登録する事ができます。例として、あなたが配布している Django アプリ ... poll for voting" def add_arguments ( self , parser ): parser . add_argument ( "poll_ids" , nargs = "+" , type = int ) def handle ( self , * args , ** options ): for poll_id in options [ "poll_ids" ]: try : poll = Poll . objects . get ( pk = poll_id ) ... line" , ending = "" ) 新たに作成したカスタムコマンドは python manage.py closepoll <poll_ids> と実行する事で利用できます。 handle() メソッドは一つ以上の poll_ids を受け取り、それぞれに対応した poll.opened を False にセットします。もしコマンドの利用者が ... arguments parser . add_argument ( "--delete" , action = "store_true" , help = "Delete poll instead of closing it" , ) def handle ( self , * args , ** options ): # ... if options [ "delete" ]: poll . delete () # ... The option ( delete in our example) ...
https://man.mtool.work/django/6.1/howto/custom-management-commands.html
カスタム django-admin コマンドの作り方 — Django 6.1 ドキュメント 12961
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » カスタム django-admin コマンドの作り方 ¶ manage.py を用いることで独自のアクションを登録する事ができます。例として、あなたが配布している Django アプリ ... poll for voting" def add_arguments ( self , parser ): parser . add_argument ( "poll_ids" , nargs = "+" , type = int ) def handle ( self , * args , ** options ): for poll_id in options [ "poll_ids" ]: try : poll = Poll . objects . get ( pk = poll_id ) ... line" , ending = "" ) 新たに作成したカスタムコマンドは python manage.py closepoll <poll_ids> と実行する事で利用できます。 handle() メソッドは一つ以上の poll_ids を受け取り、それぞれに対応した poll.opened を False にセットします。もしコマンドの利用者が ... arguments parser . add_argument ( "--delete" , action = "store_true" , help = "Delete poll instead of closing it" , ) def handle ( self , * args , ** options ): # ... if options [ "delete" ]: poll . delete () # ... The option ( delete in our example) ...
https://man.mtool.work/django/6.1/howto/custom-management-commands.html
Django 1.4.13 リリースノート — Django 6.1 ドキュメント 9397
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4.13 リリースノート ¶ May 14, 2014 Django 1.4.13 fixes two security issues in 1.4.12. Caches may incorrectly be allowed to store and serve ... (most likely only Internet Explorer 6, and Internet Explorer 7 if run on Windows XP or Windows Server 2003) are unable to handle the Vary header in combination with many content types. Therefore, Django would remove the header if the request was made ... e browsers with more liberal URL parsing. To remedy this, the validation in is_safe_url() has been tightened to be able to handle and correctly validate these malformed URLs. 目次 Django 1.4.13 リリースノート Caches may incorrectly be allowed to store ... serve session requests Vary these validate malformed security issues store private caches sessions older versions Windows handle remedy removed redirect クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/1.4.13.html
Django 1.5.8 リリースノート — Django 6.1 ドキュメント 9397
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.5.8 リリースノート ¶ May 14, 2014 Django 1.5.8 fixes two security issues in 1.5.8. Caches may incorrectly be allowed to store and serve pri ... (most likely only Internet Explorer 6, and Internet Explorer 7 if run on Windows XP or Windows Server 2003) are unable to handle the Vary header in combination with many content types. Therefore, Django would remove the header if the request was made ... e browsers with more liberal URL parsing. To remedy this, the validation in is_safe_url() has been tightened to be able to handle and correctly validate these malformed URLs. 目次 Django 1.5.8 リリースノート Caches may incorrectly be allowed to store a ... serve session requests Vary these validate malformed security issues store private caches sessions older versions Windows handle remedy removed redirect クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/1.5.8.html
Django 2.2.12 リリースノート — Django 6.1 ドキュメント 9265
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2.12 リリースノート ¶ April 1, 2020 Django 2.2.12 fixes a bug in 2.2.11. バグ修正 ¶ Added the ability to handle .po files containing differ ... リリースノート 次のトピックへ Django 2.2.11 リリースノート 関連キーワード リリースノート April fixes バグ 修正 Added ability handle files containing different plural equations language クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/2.2.12.html
Django 1.6.5 リリースノート — Django 6.1 ドキュメント 9120
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.6.5 リリースノート ¶ May 14, 2014 Django 1.6.5 fixes two security issues and several bugs in 1.6.4. Issue: Caches may incorrectly be allowe ... (most likely only Internet Explorer 6, and Internet Explorer 7 if run on Windows XP or Windows Server 2003) are unable to handle the Vary header in combination with many content types. Therefore, Django would remove the header if the request was made ... e browsers with more liberal URL parsing. To remedy this, the validation in is_safe_url() has been tightened to be able to handle and correctly validate these malformed URLs. バグ修正 ¶ Made the year_lookup_bounds_for_datetime_field Oracle backend meth ... s Vary these validate malformed security issues Issue store private certain caches related sessions older versions Windows handle クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/1.6.5.html
Django 2.2.12 リリースノート — Django 6.1 ドキュメント 8856
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2.12 リリースノート ¶ April 1, 2020 Django 2.2.12 fixes a bug in 2.2.11. バグ修正 ¶ Added the ability to handle .po files containing differ ... ト 次のトピックへ Django 2.2.11 リリースノート 関連キーワード Django リリースノート April fixes bug バグ 修正 Added ability handle po files containing different plural equations language 関連するページ Django 3.0.5 リリースノート Django 1.4.12 リリースノ ...
https://man.mtool.work/django/6.1/releases/2.2.12.html
Django 3.0.5 リリースノート — Django 6.1 ドキュメント 8856
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.0.5 リリースノート ¶ April 1, 2020 Django 3.0.5 では、3.0.4 におけるいくつかのバグを修正しました。 バグ修正 ¶ Added the ability to handle . ... リリースノート 次のトピックへ Django 3.0.4 リリースノート 関連キーワード バグ 修正 values リリースノート April Added ability handle files containing different plural equations language Fixed regression QuerySet list crashed queryset contained aggregation ...
https://man.mtool.work/django/6.1/releases/3.0.5.html
Django 3.0.5 リリースノート — Django 6.1 ドキュメント 8579
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.0.5 リリースノート ¶ April 1, 2020 Django 3.0.5 では、3.0.4 におけるいくつかのバグを修正しました。 バグ修正 ¶ Added the ability to handle . ... 次のトピックへ Django 3.0.4 リリースノート 関連キーワード Django バグ 修正 values リリースノート April いくつ Added ability handle po files containing different plural equations language Fixed regression QuerySet 関連するページ Django 2.2.12 リリースノー ...
https://man.mtool.work/django/6.1/releases/3.0.5.html
ファイルのアップロード — Django 6.1 ドキュメント 8434
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ファイルのアップロード ¶ Django がファイルアップロードを扱うとき、ファイルデータは request.FILES に格納されます ( request についての詳細は リクエスト ... import HttpResponseRedirect from django.shortcuts import render from .forms import UploadFileForm # Imaginary function to handle an uploaded file. from somewhere import handle_uploaded_file def upload_file ( request ): if request . method == "POST" : ... form = UploadFileForm ( request . POST , request . FILES ) if form . is_valid (): handle_uploaded_file ( request . FILES [ "file" ]) return HttpResponseRedirect ( "/success/url/" ) else : form = UploadFileForm ( ... タに渡す必要があることに注意してください。 アップロードされたファイルをハンドルする一般的な方法は、次のようになります。 def handle_uploaded_file ( f ): with open ( "some/file/name.txt" , "wb+" ) as destination : for chunk in f . chunks (): destination . ...
https://man.mtool.work/django/6.1/topics/http/file-uploads.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT