Make getToSLink() an actual method for re-use by others.
Uses the views.helper.redirects module to create the /document/show path,
instead of hard-coding it as a format string.
Patch by: Todd Larsen
Review by: to-be-reviewed
#!/usr/bin/env python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()