moving from static to django