Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Favourites now respects a django settings `FAVOURITES_REDIRECT_IF_NO_…

…PERMISSION`, to define the redirect for a list permission failure.
  • Loading branch information...
commit 4757efe078d8cb752a79005cdbf50a99ce17743f 1 parent ce315a8
@markfinger markfinger authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 favourites/settings.py
View
5 favourites/settings.py
@@ -0,0 +1,5 @@
+from django.conf import settings
+
+settings = {
+ 'FAVOURITES_REDIRECT_IF_NO_PERMISSION': getattr(settings, 'FAVOURITES_REDIRECT_IF_NO_PERMISSION', None),
+}
Please sign in to comment.
Something went wrong with that request. Please try again.