per page, with , order by , clip by
Results of 1 - 10 of about 118 for username (0.008 sec.)
Django の認証方法のカスタマイズ — Django 6.1 ドキュメント 11500
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の認証方法のカスタマイズ ¶ Django がデフォルトで提供する認証機能は、ほとんどの一般的なケースでは十分なものですが、デフォルトではニーズにマッチ ... from django.contrib.auth.backends import BaseBackend class MyBackend ( BaseBackend ): def authenticate ( self , request , username = None , password = None ): # Check the username/password and return a user. ... 一方、次のように認証トークンでも表せます。 ... = 'pbkdf2_sha256$30000$Vo0VlMnkR4Bk$qEvtdyZRWTcOsCnI/oQ7fVOu1XAURIZYoOZ3iq8Dr4M=' """ def authenticate ( self , request , username = None , password = None ): login_valid = settings . ADMIN_LOGIN == username pwd_valid = check_password ( password , setti ... ngs . ADMIN_PASSWORD ) if login_valid and pwd_valid : try : user = User . objects . get ( username = username ) except User . DoesNotExist : # Create a new user. There's no need to set a password # because only the passwo ...
https://man.mtool.work/django/6.1/topics/auth/customizing.html
Django の認証方法のカスタマイズ — Django 6.1 ドキュメント 11400
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の認証方法のカスタマイズ ¶ Django がデフォルトで提供する認証機能は、ほとんどの一般的なケースでは十分なものですが、デフォルトではニーズにマッチ ... from django.contrib.auth.backends import BaseBackend class MyBackend ( BaseBackend ): def authenticate ( self , request , username = None , password = None ): # Check the username/password and return a user. ... 一方、次のように認証トークンでも表せます。 ... = 'pbkdf2_sha256$30000$Vo0VlMnkR4Bk$qEvtdyZRWTcOsCnI/oQ7fVOu1XAURIZYoOZ3iq8Dr4M=' """ def authenticate ( self , request , username = None , password = None ): login_valid = settings . ADMIN_LOGIN == username pwd_valid = check_password ( password , setti ... ngs . ADMIN_PASSWORD ) if login_valid and pwd_valid : try : user = User . objects . get ( username = username ) except User . DoesNotExist : # Create a new user. There's no need to set a password # because only the passwo ...
https://man.mtool.work/django/6.1/topics/auth/customizing.html
django.contrib.auth — Django 6.1 ドキュメント 10863
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django.contrib.auth ¶ このドキュメントでは、Django の 認証システムのコンポーネントの API リファレンス資料を提供しています。 これらのコンポーネントの ... さい。 User モデル ¶ class models. User ¶ フィールド ¶ class models. User User オブジェクトには、以下のフィールドがあります: username ¶ 必須です。150 文字以下です。英数字のほか、 _ 、 @ 、 + 、 . 、 - が使えます。 大半のユースケースでは、 max_length の設定 ... オブジェクトを区別する方法です。一般的に、 is_authenticated を使う方が好ましいと言えます。 メソッド ¶ class models. User get_username () ¶ ユーザのユーザ名を返します。 User モデルはスワップアウトされることがあるので、ユーザ名を直接参照する代わりにこのメソッ ... BaseUserManager で提供されるメソッドに加えて) 以下のヘルパーメソッドを有する独自のマネージャを持っています: create_user ( username , email = None , password = None , ** extra_fields ) ¶ acreate_user ( username , email = None , password = None , ** extra ...
https://man.mtool.work/django/6.1/ref/contrib/auth.html
django.contrib.auth — Django 6.1 ドキュメント 10539
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django.contrib.auth ¶ このドキュメントでは、Django の 認証システムのコンポーネントの API リファレンス資料を提供しています。 これらのコンポーネントの ... さい。 User モデル ¶ class models. User ¶ フィールド ¶ class models. User User オブジェクトには、以下のフィールドがあります: username ¶ 必須です。150 文字以下です。英数字のほか、 _ 、 @ 、 + 、 . 、 - が使えます。 大半のユースケースでは、 max_length の設定 ... オブジェクトを区別する方法です。一般的に、 is_authenticated を使う方が好ましいと言えます。 メソッド ¶ class models. User get_username () ¶ ユーザのユーザ名を返します。 User モデルはスワップアウトされることがあるので、ユーザ名を直接参照する代わりにこのメソッ ... BaseUserManager で提供されるメソッドに加えて) 以下のヘルパーメソッドを有する独自のマネージャを持っています: create_user ( username , email = None , password = None , ** extra_fields ) ¶ acreate_user ( username , email = None , password = None , ** extra ...
https://man.mtool.work/django/6.1/ref/contrib/auth.html
Djangoの認証システムを使用する — Django 6.1 ドキュメント 8718
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Djangoの認証システムを使用する ¶ このドキュメントでは、デフォルト設定でのDjangoの認証システムの使用方法を説明します。この設定は、タスクの適切な範囲を ... と異なるクラスではなく、特別な属性セットを持ったUserオブジェクトなのです。 デフォルトのユーザの主要な属性は次のとおりです。 username password email first_name last_name See the User API documentation for a complete reference. The documentation that follow ... ユーザを作成する ¶ createsuperuser コマンドを使ってスーパーユーザーを作成します: /  $ python manage.py createsuperuser --username = joe --email = joe@example.com ...\> py manage.py createsuperuser --username=joe --email=joe@example.com パスワードを入力 ... するように促されます。入力後、ただちにユーザが作成されます。 --username または --email オプションを使用しなければ、これらの値を入力するように促されます。 パスワードを変更する ¶ Djangoはユーザモデ ...
https://man.mtool.work/django/6.1/topics/auth/default.html
Djangoの認証システムを使用する — Django 6.1 ドキュメント 8718
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Djangoの認証システムを使用する ¶ このドキュメントでは、デフォルト設定でのDjangoの認証システムの使用方法を説明します。この設定は、タスクの適切な範囲を ... と異なるクラスではなく、特別な属性セットを持ったUserオブジェクトなのです。 デフォルトのユーザの主要な属性は次のとおりです。 username password email first_name last_name See the User API documentation for a complete reference. The documentation that follow ... ユーザを作成する ¶ createsuperuser コマンドを使ってスーパーユーザーを作成します: /  $ python manage.py createsuperuser --username = joe --email = joe@example.com ...\> py manage.py createsuperuser --username=joe --email=joe@example.com パスワードを入力 ... するように促されます。入力後、ただちにユーザが作成されます。 --username または --email オプションを使用しなければ、これらの値を入力するように促されます。 パスワードを変更する ¶ Djangoはユーザモデ ...
https://man.mtool.work/django/6.1/topics/auth/default.html
Django 1.3.4 リリースノート — Django 6.1 ドキュメント 8506
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.3.4 リリースノート ¶ October 17, 2012 This is the fourth release in the Django 1.3 series. Host header poisoning ¶ Some parts of Django -- ... r parsing in Django 1.3.3 and Django 1.4.1 -- specifically, django.http.HttpRequest.get_host() -- was incorrectly handling username/password information in the header. Thus, for example, the following Host header would be accepted by Django when running ... the parsing in HttpRequest.get_host() is being modified; Host headers which contain potentially dangerous content (such as username/password pairs) now raise the exception django.core.exceptions.SuspiciousOperation . Details of this issue were initially ... ト 次のトピックへ Django 1.3.3 リリースノート 関連キーワード Host header parsing password parts URLs users HttpRequest host username validsite リリースノート October fourth release series poisoning independent user written applications make including doma ...
https://man.mtool.work/django/6.1/releases/1.3.4.html
Django 1.3.4 リリースノート — Django 6.1 ドキュメント 8294
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.3.4 リリースノート ¶ October 17, 2012 This is the fourth release in the Django 1.3 series. Host header poisoning ¶ Some parts of Django -- ... r parsing in Django 1.3.3 and Django 1.4.1 -- specifically, django.http.HttpRequest.get_host() -- was incorrectly handling username/password information in the header. Thus, for example, the following Host header would be accepted by Django when running ... the parsing in HttpRequest.get_host() is being modified; Host headers which contain potentially dangerous content (such as username/password pairs) now raise the exception django.core.exceptions.SuspiciousOperation . Details of this issue were initially ... jango 1.3.3 リリースノート 関連キーワード Django Host header parsing password parts URLs users django HttpRequest get host username validsite リリースノート October fourth release series poisoning 関連するページ Django 1.4.2 リリースノート Django 1.4.4 リ ...
https://man.mtool.work/django/6.1/releases/1.3.4.html
モデル _meta API — Django 6.1 ドキュメント 8070
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル _meta API ¶ class Options [ソース] ¶ モデルの _meta API は、Django ORM のコアにあります。これにより、ルックアップ、クエリ、フォーム、admin な ... 例外が発生します。 >>> from django.contrib.auth.models import User # A field on the model >>> User . _meta . get_field ( "username" ) <django.db.models.fields.CharField: username> # A field from another model that has a relation with the current model > ... elds.DateTimeField: last_login>, <django.db.models.fields.BooleanField: is_superuser>, <django.db.models.fields.CharField: username>, <django.db.models.fields.CharField: first_name>, <django.db.models.fields.CharField: last_name>, <django.db.models.field ... elds.DateTimeField: last_login>, <django.db.models.fields.BooleanField: is_superuser>, <django.db.models.fields.CharField: username>, <django.db.models.fields.CharField: first_name>, <django.db.models.fields.CharField: last_name>, <django.db.models.field ...
https://man.mtool.work/django/6.1/ref/models/meta.html
Django 1.4.2 リリースノート — Django 6.1 ドキュメント 8070
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.4.2 リリースノート ¶ October 17, 2012 This is the second security release in the Django 1.4 series. Host header poisoning ¶ Some parts of D ... r parsing in Django 1.3.3 and Django 1.4.1 -- specifically, django.http.HttpRequest.get_host() -- was incorrectly handling username/password information in the header. Thus, for example, the following Host header would be accepted by Django when running ... the parsing in HttpRequest.get_host() is being modified; Host headers which contain potentially dangerous content (such as username/password pairs) now raise the exception django.core.exceptions.SuspiciousOperation . Details of this issue were initially ... リリースノート 関連キーワード Host header Fixed parsing password security parts URLs documentation users HttpRequest host username validsite issue changes arguments リリースノート October second release series poisoning independent user クイック検索 Las ...
https://man.mtool.work/django/6.1/releases/1.4.2.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT