Added check for case where request object is not present in context,
leading to template tag error masking the actuall error upstream in the
view.
Merge pull request #5 from shaflidason/master

Added check for case where request object is not present in context