made ipython notebook work with django