Django templates cleanup