added a simpole django middleware