per page, with , order by , clip by
Results of 1 - 10 of about 28 for vector (0.003 sec.)
データベース関数 15976
データベース関数 The classes documented below provide a way for users to use functions provided by the underlying database as annotations, aggregations, or filters in Django. Functions are also expressions , so they can be used and combined ... object {'name': 'margaret smith', 'alias': 'msmith', 'age': 50} 数学関数 数学関数の例では、以下のモデルを使用します: class Vector ( models . Model ): x = models . FloatField () y = models . FloatField () Abs class Abs ( expression , ** extra ) [ソース] ... 数値フィールドまたは式の、絶対値を返します。 使用例: >>> from django.db.models.functions import Abs >>> Vector . objects . create ( x =- 0.5 , y = 1.1 ) >>> vector = Vector . objects . annotate ( x_abs = Abs ( "x" ), y_abs = Abs ( "y ... " )) . get () >>> vector . x_abs , vector . y_abs (0.5, 1.1) トランスフォームとして登録することもできます。たとえば: >>> from django.db.models impo ...
https://man.mtool.work/django/6.1/ref/models/database-functions.html
全文検索 11093
全文検索 django.contrib.postgres.search モジュールのデータベース関数は PostgreSQL の 全文検索エンジン を利用しやすくしています。 このドキュメントの例では、 クエリを作成する で定義されたモデルを使用します。 参考 検索の概要については、 トピッ ... Set [<Entry: Cheese on Toast recipes>, <Entry: Pizza Recipes>]> これにより、データベース内の body_text フィールドから to_tsvector が作成され、検索語 'Cheese' から plainto_tsquery が作成されます。両方ともデフォルトのデータベース検索設定を使用しています。 ... 得されます。 search ルックアップを使用するには、 INSTALLED_APPS に 'django.contrib.postgres' を含める必要があります。 SearchVector class SearchVector ( * expressions , config = None , weight = None ) [ソース] 単一のフィールドに対する検索は素晴らしいです ... ntry インスタンスは Blog に属しており、 tagline フィールドを持っています。両方のフィールドに対してクエリを行うには、 SearchVector を使用します: >>> from django.contrib.postgres.search import SearchVector >>> Entry . objects . annotate ( ... search = Se ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/search.html
Django 3.2.17 リリースノート 8094
Django 3.2.17 リリースノート 2023年2月1日 Django 3.2.17 では 3.2.16 における深刻度 "moderate" のセキュリティの問題を修正しました。 CVE-2023-23969: Accept-Language ヘッダーを通じた Dos 攻撃の可能性 The parsed values of Accept-Language header ... s are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if large header values are sent. In order to avoid this vulnerability, the Accept-Language head ...
https://man.mtool.work/django/6.1/releases/3.2.17.html
Django 4.0.9 リリースノート 8094
Django 4.0.9 リリースノート 2023年2月1日 Django 4.0.9 では 4.0.8 における深刻度 "moderate" のセキュリティの問題を修正しました。 CVE-2023-23969: Accept-Language ヘッダーを通じた Dos 攻撃の可能性 The parsed values of Accept-Language headers a ... re cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if large header values are sent. In order to avoid this vulnerability, the Accept-Language head ...
https://man.mtool.work/django/6.1/releases/4.0.9.html
Django 1.7.6 リリースノート 8029
Django 1.7.6 リリースノート March 9, 2015 Django 1.7.6 fixes a security issue and several bugs in 1.7.5. Mitigated an XSS attack via properties in ModelAdmin.readonly_fields The ModelAdmin.readonly_fields attribute in the Django admin allow ... orrectly escaped, the latter were not. Thus untrusted content could be injected into the admin, presenting an exploitation vector for XSS attacks. In this vulnerability, every model attribute used in readonly_fields that is not an actual model field (e ...
https://man.mtool.work/django/6.1/releases/1.7.6.html
Django 2.2.27 リリースノート 8029
Django 2.2.27 リリースノート 2022年2月1日 Django 2.2.27 では 2.2.26 における深刻度 "medium" のセキュリティの問題2件を修正しました。 CVE-2022-22818: {% debug %} テンプレート経由の XSS の可能性 The {% debug %} template tag didn't properly enc ... ode the current context, posing an XSS attack vector. In order to avoid this vulnerability, {% debug %} no longer outputs information when the DEBUG setting is False , and it ...
https://man.mtool.work/django/6.1/releases/2.2.27.html
Django 3.2.12 リリースノート 8029
Django 3.2.12 リリースノート 2022年2月1日 Django 3.2.12 では 3.2.11 における深刻度 "medium" のセキュリティの問題2件を修正しました。 CVE-2022-22818: {% debug %} テンプレート経由の XSS の可能性 The {% debug %} template tag didn't properly enc ... ode the current context, posing an XSS attack vector. In order to avoid this vulnerability, {% debug %} no longer outputs information when the DEBUG setting is False , and it ...
https://man.mtool.work/django/6.1/releases/3.2.12.html
Django 2.2.13 リリースノート 7980
Django 2.2.13 リリースノート June 3, 2020 Django 2.2.13 fixes two security issues and a regression in 2.2.12. CVE-2020-13254: Potential data leakage via malformed memcached keys In cases where a memcached backend does not perform key valida ... ignKeyRawIdWidget Query parameters for the admin ForeignKeyRawIdWidget were not properly URL encoded, posing an XSS attack vector. ForeignKeyRawIdWidget now ensures query parameters are correctly URL encoded. バグ修正 Fixed a regression in Django 2.2.1 ...
https://man.mtool.work/django/6.1/releases/2.2.13.html
Django 4.1.6 リリースノート 7980
Django 4.1.6 リリースノート 2023年2月1日 Django 4.1.6 では、4.1.5 における1件の深刻度 "moderate" のセキュリティ問題と、1件のバグが修正されています。 CVE-2023-23969: Accept-Language ヘッダーを通じた Dos 攻撃の可能性 The parsed values of Acce ... pt-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if large header values are sent. In order to avoid this vulnerability, the Accept-Language head ...
https://man.mtool.work/django/6.1/releases/4.1.6.html
Django 1.4.13 リリースノート 7865
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 private data In certain situations, Django may allow caches to store private data related to a ... that data to requests with a different session, or no session at all. This can lead to information disclosure and can be a vector for cache poisoning. When using Django sessions, Django will set a Vary: Cookie header to ensure caches do not serve cache ...
https://man.mtool.work/django/6.1/releases/1.4.13.html
PREV 1 2 3 NEXT