Commit dc5b288 1 parent 07d1437 commit dc5b288 Copy full SHA for dc5b288
File tree 2 files changed +16
-4
lines changed
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,14 @@ <H1>JENKINS</H1>
4
4
{% csrf_token %}
5
5
< textarea name ="content " id ="content " row ="15 "> </ textarea >
6
6
< input type ="submit " value ="검증 ">
7
- </ form >
7
+ </ form >
8
+
9
+ {% if context_list %}
10
+ < ul >
11
+ {% for context in context_list %}
12
+ < li > {{ context.subject }}</ li >
13
+ {% endfor %}
14
+ </ ul >
15
+ {% else %}
16
+ < p > X</ p >
17
+ {% endif %}
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ def check_model(request) :
13
13
scontent = sorted (set (content .split ()))
14
14
print (scontent )
15
15
16
+ context = {"data" : scontent }
17
+
16
18
'''
17
19
command = ''
18
20
output = subprocess.check_output(command, shell=True, text=True)
@@ -37,9 +39,9 @@ def check_model(request) :
37
39
print("Accounts:", accounts)
38
40
print("Dates:", dates)
39
41
print("Commit Logs:", commit_logs)
40
-
41
42
'''
42
-
43
+
44
+ '''
43
45
url = ''
44
46
username = ''
45
47
password = '' #token
@@ -74,5 +76,5 @@ def check_model(request) :
74
76
print(f"JSON 디코드 오류 발생: {json_err}")
75
77
else:
76
78
print(f"API 호출 실패 - 상태 코드: {response.status_code}")
77
-
79
+ '''
78
80
return redirect ('zimmyrabbit:index' )
You can’t perform that action at this time.
0 commit comments