restricted version of Django from above