Removed '_generate_template_args' function.
Added override of 'get_context_data' function based on Diego's comments.
Added validation to check for whitespace only strings
Added error messages using django-messaging
Added explicit return