Added python and django modes