質問編集履歴
1
記事の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,10 +10,6 @@
|
|
10
10
|
|
11
11
|
###発生している問題・エラーメッセージ
|
12
12
|
|
13
|
-
投稿”1”をクリックすると、エラー発生します。
|
14
|
-
|
15
|
-
![イメージ説明](e8c19bf183df474534e1da4501c5741e.png)
|
16
|
-
|
17
13
|
```
|
18
14
|
|
19
15
|
TemplateSyntaxError at /post/29/
|
@@ -21,8 +17,6 @@
|
|
21
17
|
Could not parse the remainder: '(post.id)+1' from '(post.id)+1'
|
22
18
|
|
23
19
|
```
|
24
|
-
|
25
|
-
![イメージ説明](a83aba7caa624471f5577225db2e30da.png)
|
26
20
|
|
27
21
|
|
28
22
|
|
@@ -32,39 +26,9 @@
|
|
32
26
|
|
33
27
|
```ここに言語を入力
|
34
28
|
|
35
|
-
|
29
|
+
<input type="button" value="NEXT" onClick="location.href='/post/{{ (post.id)+1 }}/';">
|
36
30
|
|
37
31
|
|
38
|
-
|
39
|
-
{% block content %}
|
40
|
-
|
41
|
-
<div class="post">
|
42
|
-
|
43
|
-
{% if post.published_date %}
|
44
|
-
|
45
|
-
<div class="date">
|
46
|
-
|
47
|
-
{{ post.published_date }}
|
48
|
-
|
49
|
-
</div>
|
50
|
-
|
51
|
-
{% endif %}
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<input type="button" value="編集" onClick="location.href='/post/{{ post.id }}/edit';">
|
56
|
-
|
57
|
-
<h1>{{ post.title }}</h1>
|
58
|
-
|
59
|
-
<p>{{ post.text|linebreaks }}</p>
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
<!-- <input type="button" value="NEXT" onClick="location.href='/post/{{ (post.id)+1 }}/';"> -->
|
64
|
-
|
65
|
-
</div>
|
66
|
-
|
67
|
-
{% endblock %}
|
68
32
|
|
69
33
|
```
|
70
34
|
|