django: Use generic view for redirection

Generic views are often-reused views that are fairly basic but that we
still wouldn’t want to create or re-create each time we needed the same
functionality. Examples include directing users to static pages, providing
a generic output for objects, etc.
django: Improve look & feel using template inheritance
fixup! django: Use generic view for redirection
django: Add unit tests