We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12a1935 commit 9f13951Copy full SHA for 9f13951
README.rst
@@ -85,7 +85,7 @@ field will be changed, but not written to the database.
85
from django_fsm import can_proceed
86
87
def publish_view(request, post_id):
88
- post = get_object__or_404(BlogPost, pk=post_id)
+ post = get_object_or_404(BlogPost, pk=post_id)
89
if not can_proceed(post.publish):
90
raise PermissionDenied
91
0 commit comments