From 1d55d73be8814f7fbd8c3f7313dac5d67260fe2e Mon Sep 17 00:00:00 2001 From: Marnanel Thurman Date: Tue, 21 May 2019 18:05:37 +0100 Subject: [PATCH] enhance error message --- django_kepi/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django_kepi/views.py b/django_kepi/views.py index 1eaf35e..b311e18 100644 --- a/django_kepi/views.py +++ b/django_kepi/views.py @@ -52,7 +52,9 @@ class KepiView(django.views.View): Override this method in your subclass. In KepiView it's abstract. """ - raise NotImplementedError("implement activity() in a subclass") + raise NotImplementedError("implement activity() in a subclass: %s" % ( + self.__class__, + )) def get(self, request, *args, **kwargs): """