changed the position of local_settings to make pollapp run in local system