per page, with , order by , clip by
Results of 1 - 8 of about 8 for myuser (0.009 sec.)
Django の認証方法のカスタマイズ — Django 6.1 ドキュメント 11350
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の認証方法のカスタマイズ ¶ Django がデフォルトで提供する認証機能は、ほとんどの一般的なケースでは十分なものですが、デフォルトではニーズにマッチ ... うに AUTH_USER_MODEL の値を設定することにより、デフォルトのユーザーモデルをオーバーライドできます: AUTH_USER_MODEL = "myapp.MyUser" このドットで区切られたペアは、Django app の label ( INSTALLED_APPS に含まれている必要があります) と、ユーザーモデルとして ... で設定する) 必要があります。 以下の例では、フィールドを一意に指定するために、 identifier フィールドが使われています。 class MyUser ( AbstractBaseUser ): identifier = models . CharField ( max_length = 40 , unique = True ) ... USERNAME_FIELD = "identifier ... も効果がありません。 たとえば、これは誕生日と身長の2つの必須フィールドを定義しているユーザーモデルの部分的な定義です。 class MyUser ( AbstractBaseUser ): ... date_of_birth = models . DateField () height = models . FloatField () ... REQUIRED_FIELDS = [ "d ...
https://man.mtool.work/django/6.1/topics/auth/customizing.html
Django の認証方法のカスタマイズ — Django 6.1 ドキュメント 11079
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django の認証方法のカスタマイズ ¶ Django がデフォルトで提供する認証機能は、ほとんどの一般的なケースでは十分なものですが、デフォルトではニーズにマッチ ... うに AUTH_USER_MODEL の値を設定することにより、デフォルトのユーザーモデルをオーバーライドできます: AUTH_USER_MODEL = "myapp.MyUser" このドットで区切られたペアは、Django app の label ( INSTALLED_APPS に含まれている必要があります) と、ユーザーモデルとして ... で設定する) 必要があります。 以下の例では、フィールドを一意に指定するために、 identifier フィールドが使われています。 class MyUser ( AbstractBaseUser ): identifier = models . CharField ( max_length = 40 , unique = True ) ... USERNAME_FIELD = "identifier ... も効果がありません。 たとえば、これは誕生日と身長の2つの必須フィールドを定義しているユーザーモデルの部分的な定義です。 class MyUser ( AbstractBaseUser ): ... date_of_birth = models . DateField () height = models . FloatField () ... REQUIRED_FIELDS = [ "d ...
https://man.mtool.work/django/6.1/topics/auth/customizing.html
Djangoの認証システムを使用する — Django 6.1 ドキュメント 10519
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Djangoの認証システムを使用する ¶ このドキュメントでは、デフォルト設定でのDjangoの認証システムの使用方法を説明します。この設定は、タスクの適切な範囲を ... を持っています。 User オブジェクトは、他の Django モデル と同様の方法で、関連を持っているオブジェクトにアクセスできます。 myuser . groups . set ([ group_list ]) myuser . groups . add ( group , group , ... ) myuser . groups . remove ( group , group , . ... .. ) myuser . groups . clear () myuser . user_permissions . set ([ permission_list ]) myuser . user_permissions . add ( permission , p ... ermission , ... ) myuser . user_permissions . remove ( permission , permission , ... ) myuser . user_permissions . clear () There are community-mai ...
https://man.mtool.work/django/6.1/topics/auth/default.html
Djangoの認証システムを使用する — Django 6.1 ドキュメント 9959
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Djangoの認証システムを使用する ¶ このドキュメントでは、デフォルト設定でのDjangoの認証システムの使用方法を説明します。この設定は、タスクの適切な範囲を ... を持っています。 User オブジェクトは、他の Django モデル と同様の方法で、関連を持っているオブジェクトにアクセスできます。 myuser . groups . set ([ group_list ]) myuser . groups . add ( group , group , ... ) myuser . groups . remove ( group , group , . ... .. ) myuser . groups . clear () myuser . user_permissions . set ([ permission_list ]) myuser . user_permissions . add ( permission , p ... ermission , ... ) myuser . user_permissions . remove ( permission , permission , ... ) myuser . user_permissions . clear () There are community-mai ...
https://man.mtool.work/django/6.1/topics/auth/default.html
Porting your apps from Django 0.96 to 1.0 — Django 6.1 ドキュメント 8025
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Porting your apps from Django 0.96 to 1.0 ¶ Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and ... test.Client.login() has changed ¶ Old (0.96): from django.test import Client c = Client () c . login ( "/path/to/login" , "myuser" , "mypassword" ) New (1.0): # ... same as above, but then: c . login ( username = "myuser" , password = "mypassword" ) Ma ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
Porting your apps from Django 0.96 to 1.0 — Django 6.1 ドキュメント 8025
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Porting your apps from Django 0.96 to 1.0 ¶ Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and ... test.Client.login() has changed ¶ Old (0.96): from django.test import Client c = Client () c . login ( "/path/to/login" , "myuser" , "mypassword" ) New (1.0): # ... same as above, but then: c . login ( username = "myuser" , password = "mypassword" ) Ma ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
テストツール — Django 6.1 ドキュメント 6633
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... _url } /login/" ) username_input = self . selenium . find_element ( By . NAME , "username" ) username_input . send_keys ( "myuser" ) password_input = self . selenium . find_element ( By . NAME , "password" ) password_input . send_keys ( "secret" ) self ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
テストツール — Django 6.1 ドキュメント 6633
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... _url } /login/" ) username_input = self . selenium . find_element ( By . NAME , "username" ) username_input . send_keys ( "myuser" ) password_input = self . selenium . find_element ( By . NAME , "password" ) password_input . send_keys ( "secret" ) self ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
PREV 1 NEXT