質問編集履歴
1
情報追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -121,3 +121,13 @@
|
|
121
121
|
return obj
|
122
122
|
|
123
123
|
```
|
124
|
+
|
125
|
+
urls.py
|
126
|
+
|
127
|
+
```python
|
128
|
+
|
129
|
+
path('<slug:post_id>/like/', like, name='like'),
|
130
|
+
|
131
|
+
path('post/<slug:pk>/', PostDetailView.as_view(), name='post_detail'),
|
132
|
+
|
133
|
+
```
|