Moved base url and default encoding to django settings