... neString >>> ls1 = LineString (( 0 , 0 ), ( 2 , 2 )) >>> ls2 = LineString (( 1 , 1 ), ( 3 , 3 )) >>> print ( ls1 | ls2 ) # equivalent to `ls1.union(ls2)` MULTILINESTRING ((0 0, 1 1), (1 1, 2 2), (2 2, 3 3)) >>> print ( ls1 & ls2 ) # equivalent to `ls1.inte ... rsection(ls2)` LINESTRING (1 1, 2 2) >>> print ( ls1 - ls2 ) # equivalent to `ls1.difference(ls2)` LINESTRING(0 0, 1 1) >>> print ( ls1 ^ ls2 ) # equivalent to `ls1.sym_difference(ls2)` MULTILINES ... 使用して呼び出される場合、ジオメトリのSRIDには制約を与えません。 GEOSGeometry. make_valid () ¶ Returns a valid GEOSGeometry equivalent, trying not to lose any of the input vertices. If the geometry is already valid, it is returned untouched. This is similar ... ... neString >>> ls1 = LineString (( 0 , 0 ), ( 2 , 2 )) >>> ls2 = LineString (( 1 , 1 ), ( 3 , 3 )) >>> print ( ls1 | ls2 ) # equivalent to `ls1.union(ls2)` MULTILINESTRING ((0 0, 1 1), (1 1, 2 2), (2 2, 3 3)) >>> print ( ls1 & ls2 ) # equivalent to `ls1.inte ... rsection(ls2)` LINESTRING (1 1, 2 2) >>> print ( ls1 - ls2 ) # equivalent to `ls1.difference(ls2)` LINESTRING(0 0, 1 1) >>> print ( ls1 ^ ls2 ) # equivalent to `ls1.sym_difference(ls2)` MULTILINES ... 使用して呼び出される場合、ジオメトリのSRIDには制約を与えません。 GEOSGeometry. make_valid () ¶ Returns a valid GEOSGeometry equivalent, trying not to lose any of the input vertices. If the geometry is already valid, it is returned untouched. This is similar ... ... ed by assertHTMLEqual() , now treats text, character references, and entity references that refer to the same character as equivalent. DiscoverRunner can now spawn a debugger at each error or failure using the test --pdb option. 3.0 における後方互換性のない ... UPDATE based on whether or not the row exists. This makes calling Model.save() while providing a default primary key value equivalent to passing force_insert=True to model's save() . Attempts to use a new Model instance to update an existing row will resul ... ogout. django.utils.html.escape() now uses html.escape() to escape HTML. This converts ' to ' instead of the previous equivalent decimal code ' . The django-admin test -k option now works as the unittest -k option rather than as a shortcut for --k ... ... ed by assertHTMLEqual() , now treats text, character references, and entity references that refer to the same character as equivalent. DiscoverRunner can now spawn a debugger at each error or failure using the test --pdb option. 3.0 における後方互換性のない ... UPDATE based on whether or not the row exists. This makes calling Model.save() while providing a default primary key value equivalent to passing force_insert=True to model's save() . Attempts to use a new Model instance to update an existing row will resul ... ogout. django.utils.html.escape() now uses html.escape() to escape HTML. This converts ' to ' instead of the previous equivalent decimal code ' . The django-admin test -k option now works as the unittest -k option rather than as a shortcut for --k ... ... logical order that's communicated visually. The Accessibility Insights browser extension's automated checks feature, or an equivalent tool with the Axe checker. Where the UI changes could affect those modalities, also test with: Touch-only navigation. Comm ... ... logical order that's communicated visually. The Accessibility Insights browser extension's automated checks feature, or an equivalent tool with the Axe checker. Where the UI changes could affect those modalities, also test with: Touch-only navigation. Comm ... ... rver, not directly from an HTTP request header. This warning applies under ASGI in all configurations, because there is no equivalent for a WSGI server's ability to place a trusted value in the environ. ASGI deployments must use a reverse proxy as describe ... ... g the backend instance as a context manager is preferable, as it automatically calls open() and close() as needed. This is equivalent to the previous example, but uses the backend as a context manager to avoid leaving the connection open on errors: from dj ... , EMAIL_USE_SSL , EMAIL_SSL_KEYFILE , EMAIL_SSL_CERTFILE , and EMAIL_TIMEOUT settings, respectively. (There is no setting equivalent to the "fail_silently" option.) class backends.smtp. EmailBackend ¶ Directly instantiating an EmailBackend class is not re ... accessed through django.core.mail.mailers.default : >>> from django.core.mail import mailers >>> mailers . default This is equivalent to mailers["default"] . If no default mailer has been configured, a MailerDoesNotExist error will be raised. バージョン 6. ... ... rver, not directly from an HTTP request header. This warning applies under ASGI in all configurations, because there is no equivalent for a WSGI server's ability to place a trusted value in the environ. ASGI deployments must use a reverse proxy as describe ... ... g the backend instance as a context manager is preferable, as it automatically calls open() and close() as needed. This is equivalent to the previous example, but uses the backend as a context manager to avoid leaving the connection open on errors: from dj ... , EMAIL_USE_SSL , EMAIL_SSL_KEYFILE , EMAIL_SSL_CERTFILE , and EMAIL_TIMEOUT settings, respectively. (There is no setting equivalent to the "fail_silently" option.) class backends.smtp. EmailBackend ¶ Directly instantiating an EmailBackend class is not re ... accessed through django.core.mail.mailers.default : >>> from django.core.mail import mailers >>> mailers . default This is equivalent to mailers["default"] . If no default mailer has been configured, a MailerDoesNotExist error will be raised. バージョン 6. ... 2026年10月08日