per page, with , order by , clip by
Results of 1 - 7 of about 7 for text editor (0.005 sec.)
text (125), editor (14)
ウィジェット 16601
ウィジェット ウィジェットは、Django が HTML の input 要素の表現方法です。ウィジェットは、HTML のレンダリングをコントロールして、ウィジェットに合致する GET/POST ディクショナリからデータを取り出します。 Built-in widgets によって作られる HTML ... orm ( forms . Form ): name = forms . CharField () url = forms . URLField () comment = forms . CharField ( widget = forms . Textarea ) これは、comment のフォームに対して、デフォルトの TextInput ウィジェットではなく、より大きなサイズの Textarea ウィジェ ... アップのみをレンダリングします。Django はクラス名やその他のウィジェット固有の属性を追加しません。したがって、例えばすべての TextInput ウィジェットはウェブページ上で同じように見えます。 ウィジェットをカスタマイズする方法には 2 つあります: ウィジェットご ... めです。 Override this method in custom widgets that aren't compatible with browser validation. For example, a WYSIWYG text editor widget backed by a hidden textarea element may want to always return False to avoid browser validation on the hidden field ...
https://man.mtool.work/django/6.1/ref/forms/widgets.html
JavaScript code 15647
JavaScript code While most of Django core is Python, the admin and gis contrib apps contain JavaScript code. Please follow these coding standards when writing JavaScript code for inclusion in Django. Code style Please conform to the indenta ... tion style dictated in the .editorconfig file. We recommend using a text editor with EditorConfig support to avoid indentation and whitespace issues. Most of ... or bugs and style errors. Biome will be run by the pre-commit hooks. We also recommended installing a Biome plugin in your text editor. Where possible, write code that will work even if the page structure is later changed with JavaScript. For instanc ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/javascript...
Django 1.7.2 リリースノート 14360
Django 1.7.2 リリースノート January 2, 2015 Django 1.7.2 fixes several bugs in 1.7.1. Additionally, Django's vendored version of six, django.utils.six , has been upgraded to the latest release (1.9.0). バグ修正 Fixed migration's renaming of ... 4 ). Fixed django.core.files.File.__repr__() when the file's name contains Unicode characters ( #23888 ). Added missing context to the admin's delete_selected view that prevented custom site header, etc. from appearing ( #23898 ). Fixed a regression ... d missing index_together handling for SQLite ( #23880 ). Fixed a crash when RunSQL SQL content was collected by the schema editor, typically when using sqlmigrate ( #23909 ). Fixed a regression in contrib.admin add/change views which caused some ModelA ... cationMiddleware from setting a "Vary: Cookie" header on all responses ( #23939 ). Fixed a crash when adding blank=True to TextField() on MySQL ( #23920 ). Fixed index creation by the migration infrastructure, particularly when dealing with PostgreSQ ...
https://man.mtool.work/django/6.1/releases/1.7.2.html
Coding style 13994
Coding style Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks pre-commit is a framework for managing pre-commit hooks. These hooks help to identify simple issues before committing code for re ... using the black auto-formatter. This will be run by pre-commit if that is configured. The project repository includes an .editorconfig file. We recommend using a text editor with EditorConfig support to avoid indentation and whitespace issues. The Pyt ... } should be the first non-comment line. Do this: {% extends "base.html" %} {% block content %} < h1 class = "font-semibold text-xl" > {{ pages.title }} </ h1 > {% endblock content %} Or this: {# This is a comment #} {% extends "base.html" %} {% block ... content %} < h1 class = "font-semibold text-xl" > {{ pages.title }} </ h1 > {% endblock content %} Don't do this: {% load i18n %} {% extends "base.html" %} {% block c ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Djangoにおけるパスワード管理 13714
Djangoにおけるパスワード管理 パスワード管理は一般的に、不必要に再発明されるべきではないものです。Djangoはユーザーのパスワードを管理するための安全で柔軟なツールセットを提供するよう努めています。このドキュメントでは、Djangoがパスワードを保存す ... py from django.db import migrations from ..hashers import PBKDF2WrappedMD5PasswordHasher def forwards_func ( apps , schema_editor ): User = apps . get_model ( "auth" , "User" ) users = User . objects . filter ( password__startswith = "md5$" ) hasher = ... erred = 'default' ) 非同期バージョン : acheck_password() If you'd like to manually authenticate a user by comparing a plaintext password to the hashed password in the database, use the convenience function check_password() . It takes two mandatory ar ... guments: the plaintext password to check, and the full value of a user's password field in the database to check against. It returns True if they ...
https://man.mtool.work/django/6.1/topics/auth/passwords.html
Django 2.0 リリースノート 13276
Django 2.0 リリースノート December 2, 2017 Django 2.0 へようこそ! このリリースノートでは、 バージョン 2.0 の新機能 と、Django 1.11 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... d gin_pending_list_limit parameters. The new GistIndex class allows creating GiST indexes in the database. The new BtreeGistExtension migration operation installs the btree_gist extension to add support for operator classes that aren't built-in. insp ... For the built-in backends, failed inserts can only happen on memcached. ファイルストレージ File.open() can be used as a context manager, e.g. with file.open() as f: . フォーム The new date_attrs and time_attrs arguments for SplitDateTimeWidget and Sp ... that your backend works with. Django may use it in various messages, such as in system checks. The first argument of SchemaEditor._alter_column_type_sql() is now model rather than table . The first argument of SchemaEditor._create_index_name() is now t ...
https://man.mtool.work/django/6.1/releases/2.0.html
Django の admin サイト 13075
Django の admin サイト Django のパワフルな特徴の1つは、自動的に生成される admin インタフェースです。あなたのモデルクラスからメタデータを読み取り、モデル中心のインタフェースを提供します。このインタフェースのおかげで、ユーザはあなたのサイトの ... を、 INSTALLED_APPS 設定に追加してください。 DjangoTemplates バックエンドを、 TEMPLATES 設定で構成し、 django.template.context_processors.request , django.contrib.auth.context_processors.auth , および django.contrib.messages.context_processors.messa ... ges を OPTIONS の 'context_processors' オプションに含めてください。 MIDDLEWARE 設定をカスタマイズしている場合、 django.contrib.sessions.middleware.Se ... 使用している場合、 site キーワード引数を使って渡してください: from django.contrib import admin from .models import Author , Editor , Reader from myproject.admin_site import custom_admin_site @admin . register ( Author , Reader , Editor , site = custom_a ...
https://man.mtool.work/django/6.1/ref/contrib/admin/
PREV 1 NEXT