add missing model to CoinifyCallbackView

This commit is contained in:
Thomas Steen Rasmussen 2016-05-29 19:44:43 +02:00
parent a46480c960
commit a6b50c79fc

View file

@ -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)