common superclass for DoesNotExist
common superclass for DoesNotExist. refactoring
templatetags refactored