per page, with , order by , clip by
Results of 1 - 10 of about 46 for accepts (0.004 sec.)
Django 1.7 リリースノート 12235
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... フィールドをクリーニングして検証する for an example using Form.add_error() . Error metadata The ValidationError constructor accepts metadata such as error code or params which are then available for interpolating into the error message (see ValidationErr ... native for remote storages such as Amazon S3. See the ManifestStaticFilesStorage docs for more information. findstatic now accepts verbosity flag level 2, meaning it will show the relative paths of the directories it searched. See findstatic for example ... te Request Forgery The CSRF_COOKIE_AGE setting facilitates the use of session-based CSRF cookies. E メール send_mail() now accepts an html_message parameter for sending a multipart text/plain and text/html email. The SMTP EmailBackend now accepts a time ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.3 リリースノート 11991
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... to built-in template tags A number of improvements have been made to Django's built-in template tags: The include tag now accepts a with option, allowing you to specify context variables to the included template The include tag now accepts an only opti ... included context The with tag now allows you to define multiple context variables in a single with block. The load tag now accepts a from argument, allowing you to load a single tag or filter from a library. TemplateResponse It can sometimes be benefici ... supports CC's. Error emails now include more of the detail and formatting of the debug server error page. simple_tag() now accepts a takes_context argument, making it easier to write simple template tags that require access to template context. A new re ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 3.1 リリースノート 10709
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... gets to access model instances. See リレーションシップの選択肢をイテレートする for details. django.forms.DateTimeField now accepts dates in a subset of ISO 8601 datetime formats, including optional timezone, e.g. 2019-10-10T06:47 , 2019-10-10T06:47:23+0 ... T_FORMATS in addition to DATETIME_INPUT_FORMATS when converting a field input to a datetime value. MultiWidget.widgets now accepts a dictionary which allows customizing subwidget name attributes. The new BoundField.widget_type property can be used to dy ... None' (string) to explicitly state that the cookie is sent with all same-site and cross-site requests. The new HttpRequest.accepts() method returns whether the request accepts the given MIME type according to the Accept HTTP header. セキュリティ The SEC ...
https://man.mtool.work/django/6.1/releases/3.1.html
Django 1.1 リリースノート 9946
Django 1.1 リリースノート July 29, 2009 Django 1.1 へようこそ! Django 1.1 includes a number of nifty new features , lots of bug fixes, and an easy upgrade path from Django 1.0. Backwards-incompatible changes in 1.1 Django has a policy of AP ... in the admin will not be "reversible" when configured this way). The include() function in Django URLconf modules can now accept sequences of URL patterns (generated by patterns() ) in addition to module names. Instances of Django forms (see the forms ... of hidden -- i.e., <input type="hidden"> -- and visible fields on the form, respectively. The redirect_to generic view now accepts an additional keyword argument permanent . If permanent is True , the view will emit an HTTP permanent redirect (status co ... code 302). A new database lookup type -- week_day -- has been added for DateField and DateTimeField . This type of lookup accepts a number between 1 (Sunday) and 7 (Saturday), and returns objects where the field value matches that day of the week. See ...
https://man.mtool.work/django/6.1/releases/1.1.html
Django 1.11.15 リリースノート 9443
Django 1.11.15 リリースノート 2018年8月1日 Django 1.11.15 では、1.11.14 にあった1つのセキュリティの問題を修正しました。 CVE-2018-14574: CommonMiddleware に対するオープンリダイレクトの可能性 If the CommonMiddleware and the APPEND_SLASH setti ... ng are both enabled, and if the project has a URL pattern that accepts any path ending in a slash (many content management systems have such a pattern), then a request to a maliciously crafted ...
https://man.mtool.work/django/6.1/releases/1.11.15.html
Django 4.1 リリースノート 9184
Django 4.1 リリースノート 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... indexes defined in the Meta.index_together to the Meta.indexes . モデル The order_by argument of the Window expression now accepts string references to fields and transforms. The new CONN_HEALTH_CHECKS setting allows enabling health checks for persisten ... d. DatabaseOperations.ignore_conflicts_suffix_sql() method is replaced by DatabaseOperations.on_conflict_suffix_sql() that accepts the fields , on_conflict , update_fields , and unique_fields arguments. The ignore_conflicts argument of the DatabaseOpera ... tions.insert_statement() method is replaced by on_conflict that accepts django.db.models.constants.OnConflict . DatabaseOperations._convert_field_to_tz() is replaced by DatabaseOperations._conve ...
https://man.mtool.work/django/6.1/releases/4.1.html
クラスベースのビューでフォームを扱う 9184
クラスベースのビューでフォームを扱う フォームの処理には、一般に3つの場合分けが存在します。 最初の GET リクエスト (空白またはデフォルト値が埋め込まれたフォームを返す) 無効なデータの POST リクエスト (よくあるパターンは、エラー表示を追加したフ ... ew (e.g. CreateView) """ def form_invalid ( self , form ): response = super () . form_invalid ( form ) if self . request . accepts ( "text/html" ): return response else : return JsonResponse ( form . errors , status = 400 ) def form_valid ( self , form ... case of CreateView, it will # call form.save() for example). response = super () . form_valid ( form ) if self . request . accepts ( "text/html" ): return response else : data = { "pk" : self . object . pk , } return JsonResponse ( data ) class AuthorCr ... text/css,*/*;q=0.1 というヘッダーを送信し、CSS を優先するが他の形式でも構わないという意図を示します。この場合でも request.accepts("text/html") は True を返します。 クライアントの優先度を考慮して正しいフォーマットを判断するには、 django.http.HttpRequest ...
https://man.mtool.work/django/6.1/topics/class-based-views/generic-editing.html
Django 2.0.8 リリースノート 8924
Django 2.0.8 リリースノート 2018年8月1日 Django 2.0.8 では、2.0.7 にあった1つのセキュリティの問題と、いくつかのバグを修正しました。 CVE-2018-14574: CommonMiddleware に対するオープンリダイレクトの可能性 If the CommonMiddleware and the APPEND ... _SLASH setting are both enabled, and if the project has a URL pattern that accepts any path ending in a slash (many content management systems have such a pattern), then a request to a maliciously crafted ...
https://man.mtool.work/django/6.1/releases/2.0.8.html
LayerMapping データインポートユーティリティ 8421
LayerMapping データインポートユーティリティ LayerMapping クラスは、ベクトル空間データファイル (例: shapefile) の内容を GeoDjango モデルにマッピングする方法を提供します。 このユーティリティは、ベクターレイヤーからジオメトリとフィールドを取り ... モデルで、インスタンスではありません。 data_source The path to the OGR-supported data source file (e.g., a shapefile). Also accepts django.contrib.gis.gdal.DataSource instances. mapping 辞書: キーはモデルフィールドに対応する文字列で、値はOGRフィーチャ用の ... step = False , progress = False , silent = False , stream = sys.stdout , strict = False ) [ソース] The save() method also accepts keywords. These keywords are used for controlling output logging, error handling, and for importing specific feature range ...
https://man.mtool.work/django/6.1/ref/contrib/gis/layermapping.html
Tasks 8421
Tasks New in Django 6.0. The Task framework provides the contract and plumbing for background work, not the engine that runs it. The Tasks API defines how work is described, queued, and tracked, but leaves actual execution to external infra ... ult" . backend : Sets the backend of the Task . Defaults to "default" . takes_context : Controls whether the Task function accepts a TaskContext . Defaults to False . See Task context for details. Custom Task backends may define a custom task_class that ... accepts additional arguments. These can be passed through the @task decorator: @task ( foo = 5 , bar = 600 ) def my_task (): pass ...
https://man.mtool.work/django/6.1/ref/tasks.html
PREV 1 2 3 4 5 NEXT