質問編集履歴
1
views.pyのデータを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,6 +36,46 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
+
|
40
|
+
|
41
|
+
```python
|
42
|
+
|
43
|
+
from django.http import HttpResponse
|
44
|
+
|
45
|
+
from django.shortcuts import render
|
46
|
+
|
47
|
+
from . import forms
|
48
|
+
|
49
|
+
from .models import *
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
def tes_template(request):
|
54
|
+
|
55
|
+
tes3 = ""
|
56
|
+
|
57
|
+
if request.method == 'POST':
|
58
|
+
|
59
|
+
tes = request.POST["tes"]
|
60
|
+
|
61
|
+
sh = inputs(tes)
|
62
|
+
|
63
|
+
tes3 = sh.value
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
myapp_data = {
|
68
|
+
|
69
|
+
"tes1" : tes3,
|
70
|
+
|
71
|
+
}
|
72
|
+
|
73
|
+
return render(request, 'tes2.html' , myapp_data)
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
|
78
|
+
|
39
79
|
### 試したこと
|
40
80
|
|
41
81
|
|