added rab settings and django support