質問編集履歴
4
ソースの誤りを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -41,17 +41,17 @@
|
|
41
41
|
"name": "顧客名",
|
42
42
|
"name_kana": "フリガナ",
|
43
43
|
"department": "部署",
|
44
|
-
|
44
|
+
"industry":"",
|
45
|
-
|
45
|
+
"capital":"",
|
46
|
-
|
46
|
+
"postcode":"",
|
47
|
-
|
47
|
+
"address":"",
|
48
|
-
|
48
|
+
"phone_number":"",
|
49
|
-
|
49
|
+
"email":"",
|
50
|
-
|
50
|
+
"fax_number":"",
|
51
|
-
|
51
|
+
"revenue":"",
|
52
|
-
|
52
|
+
"profit":"",
|
53
|
-
|
53
|
+
"number_of_employees":"",
|
54
|
-
|
54
|
+
"remark":""
|
55
55
|
}
|
56
56
|
|
57
57
|
response = self.client.post(reverse_lazy('client:registration'), params)
|
3
ソース誤りを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -38,8 +38,20 @@
|
|
38
38
|
@csrf_exempt
|
39
39
|
def test_create_client_success(self):
|
40
40
|
params = {
|
41
|
-
|
41
|
+
"name": "顧客名",
|
42
|
-
|
42
|
+
"name_kana": "フリガナ",
|
43
|
+
"department": "部署",
|
44
|
+
"industry":"",
|
45
|
+
"capital":"",
|
46
|
+
"postcode":"",
|
47
|
+
"address":"",
|
48
|
+
"phone_number":"",
|
49
|
+
"email":"",
|
50
|
+
"fax_number":"",
|
51
|
+
"revenue":"",
|
52
|
+
"profit":"",
|
53
|
+
"number_of_employees":"",
|
54
|
+
"remark":""
|
43
55
|
}
|
44
56
|
|
45
57
|
response = self.client.post(reverse_lazy('client:registration'), params)
|
2
ソースの誤りを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -38,7 +38,7 @@
|
|
38
38
|
@csrf_exempt
|
39
39
|
def test_create_client_success(self):
|
40
40
|
params = {
|
41
|
-
"name": "名
|
41
|
+
"name": "顧客名",
|
42
42
|
"name_kana": "フリガナ"
|
43
43
|
}
|
44
44
|
|
1
タイトルを最適化
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
Django
|
1
|
+
Django self.client.post(...)でDB登録を試みたが、登録が確認できない
|
body
CHANGED
File without changes
|