From a6b50c79fc02088ca276290ee51a7f9563680b1a Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 29 May 2016 19:44:43 +0200 Subject: [PATCH] add missing model to CoinifyCallbackView --- shop/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shop/views.py b/shop/views.py index af15816f..cbae2fb7 100644 --- a/shop/views.py +++ b/shop/views.py @@ -382,6 +382,8 @@ class CoinifyRedirectView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUn class CoinifyCallbackView(SingleObjectMixin, View): + model = Order + @method_decorator(csrf_exempt) def dispatch(self, *args, **kwargs): return super(CoinifyCallbackView, self).dispatch(*args, **kwargs)