enhance error message

2019-08-17
Marnanel Thurman 2019-05-21 18:05:37 +01:00
rodzic ef246d94a8
commit 1d55d73be8
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

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