Skip to content

Commit bb54dd0

Browse files
authored
Forgotten ``` added
1 parent 0ce0a35 commit bb54dd0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tr/django_forms/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ def post_new(request):
231231
return redirect('post_detail', pk=post.pk)
232232
else:
233233
form = PostForm()
234-
return render(request, 'blog/post_edit.html', {'form': form})yazar
235-
234+
return render(request, 'blog/post_edit.html', {'form': form})
235+
```
236236

237237
Bakalım çalışacak mı? http://127.0.0.1:8000/post/new/ sayfasına gidip bir `baslik` ve `yazi` ekleyelim, sonra da kaydedelim... ve işte! Yeni blog postu eklenmiş ve `post_detail` sayfasına yönlendirildik!
238238

0 commit comments

Comments
 (0)