... d to crash Django ( #21662 ). Fixed a crash when executing the changepassword command when the user object representation contained non-ASCII characters ( #21627 ). The collectstatic command will rais ... ... 95 ). Fixed a crash in the find_command management utility when the PATH environment variable wasn't set ( #22256 ). Fixed changepassword on Windows ( #22364 ). Avoided shadowing deadlock exceptions on MySQL ( #22291 ). Wrapped database exceptions in _set_auto ... ... コマンドラインオプション --clear collectstatic コマンドラインオプション --command shell コマンドラインオプション --database changepassword コマンドラインオプション check コマンドラインオプション createcachetable コマンドラインオプション createsuperuser コマンド ... 属性) changed_objects (models.BaseModelFormSet の属性) changefreq (Sitemap の属性) changelist_view() (ModelAdmin のメソッド) changepassword django-admin command changepassword コマンドラインオプション --database CharField (django.db.models のクラス) (django.form ... (django.db.models.query.QuerySet モジュール) divisibleby template filter django (OGRGeomType の属性) django-admin command changepassword check clearsessions collectstatic compilemessages createcachetable createsuperuser dbshell diffsettings dumpdata findstati ... ... ンが 有効に なっていないと利用できません。この節では、それらをアプリケーションごとに分類して説明します。 django.contrib.auth changepassword django-admin changepassword [<username>] このコマンドは Django の 認証システム ( django.contrib.auth ) がインストールされて ... します。 --database DATABASE ユーザーをクエリするデータベースを指定します。デフォルトは default です。 使用例: django-admin changepassword ringo createsuperuser django-admin createsuperuser DJANGO_SUPERUSER_PASSWORD このコマンドは Django の 認証システム ( djang ... ... デフォルトで有効になっています。 デフォルトでは、バリデータはパスワードをリセットまたは変更するフォームと createsuperuser と changepassword 管理コマンドで使用されます。たとえば、 User.objects.create_user() や create_superuser() のようなモデルレベルではバリデータ ... ... を作成する際にヘルパー関数を使用する理由です。 ユーザのパスワードを変更するには、いくつかのオプションがあります。 manage.py changepassword *username* は、コマンドラインからユーザのパスワードを変更する方法を提供します。ユーザのパスワードを変更するよう促されたら、 ... 功後にリダイレクトする URL。デフォルトは 'password_change_done' です。 form_class キーワード引数 user を受け付けるカスタム "change password" フォームです。このフォームはユーザのパスワードを実際に変更する役割を持ちます。デフォルトは PasswordChangeForm です。 ext ... 2026年10月08日