質問編集履歴
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -28,9 +28,18 @@
|
|
28
28
|
```
|
29
29
|
|
30
30
|
### 試したこと
|
31
|
+
追記、このようにしてみましたがkeyerrorがself.fields['emailの所に出ました。
|
32
|
+
```ここに言語を入力
|
33
|
+
class SignupForm(UserCreationForm):
|
31
34
|
|
35
|
+
def __init__(self, *args, **kwargs):
|
32
|
-
|
36
|
+
super().__init__(*args, **kwargs)
|
33
|
-
|
37
|
+
self.fields['username'].widget.attrs.update({'placeholder':('Username')})
|
38
|
+
self.fields['email'].widget.attrs.update({'placeholder':('Email')})
|
39
|
+
self.fields['password1'].widget.attrs.update({'placeholder':('Password')})
|
40
|
+
self.fields['password2'].widget.attrs.update({'placeholder':('Repeat password')})
|
41
|
+
|
42
|
+
```
|
34
43
|
### 補足情報(FW/ツールのバージョンなど)
|
35
44
|
|
36
45
|
ここにより詳細な情報を記載してください。
|