Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Django Pattern: get_allowed_or_404 | Better HN
Django Pattern: get_allowed_or_404
(3oh2.com)
1 points · by
jbox
· 16y ago · 0 comments
In Django, a common view pattern is to protect access to a resource by user ownership. This article discusses how to allow staff to access any resource while still restricting regular user access.
Comments
No comments yet.