Skip to content

Commit 9f13951

Browse files
donghyeon-kim98kmmbvnr
authored andcommitted
Update README.rst
Fix typo
1 parent 12a1935 commit 9f13951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ field will be changed, but not written to the database.
8585
from django_fsm import can_proceed
8686
8787
def publish_view(request, post_id):
88-
post = get_object__or_404(BlogPost, pk=post_id)
88+
post = get_object_or_404(BlogPost, pk=post_id)
8989
if not can_proceed(post.publish):
9090
raise PermissionDenied
9191

0 commit comments

Comments
 (0)