updated Django and requirements
optimized sidebar CTF query, made sidebar use the request object instead