Django Secret Key Pipeline

Move the Django Secret Key Generation to a pipeline - should be a pre only pipeline so it can be used in templates.