Code for a 2 hour practical assessment using django