Permalink
Browse files

set skrill:cancel to default CANCEL_URL

  • Loading branch information...
1 parent 4c98436 commit be0de46058d64e693d214c1785337f6bc958b81b @Akuryou Akuryou committed Dec 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 skrill/settings.py
View
@@ -25,7 +25,7 @@ def get_secret_word_as_md5():
RECIPIENT_DESCRIPTION = getattr(settings, "SKRILL_RECIPIENT_DESCRIPTION", None)
RETURN_URL = getattr(settings, "SKRILL_RETURN_URL", None)
RETURN_URL_TEXT = getattr(settings, "SKRILL_RETURN_URL_TEXT", None)
-CANCEL_URL = getattr(settings, "SKRILL_CANCEL_URL", None)
+CANCEL_URL = getattr(settings, "SKRILL_CANCEL_URL", reverse_lazy('skrill:cancel'))
STATUS_URL = getattr(settings, "SKRILL_STATUS_URL", reverse_lazy('skrill:status_report'))
STATUS_URL2 = getattr(settings, "SKRILL_STATUS_URL2", None)
NEW_WINDOW_REDIRECT = getattr(settings, "SKRILL_NEW_WINDOW_REDIRECT", False)

0 comments on commit be0de46

Please sign in to comment.