PermssionFailure instead of 404 #6

merged 2 commits into from Feb 25, 2012


None yet

2 participants

lingo commented Feb 25, 2012

I've added these two commits that I'm using in my project.

  1. Only show Actions that are permitted by the object in the ModelAdmin
  2. Show a 404 when not found, but permission error for !canView(), which redirects user to a login page normally.

Great thanks Lingo!

@arambalakjian arambalakjian merged commit 001726d into arambalakjian:master Feb 25, 2012
lingo commented Feb 25, 2012

It's a really handy module, so I'm happy if I can improve any little bits. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment