Add Django API retries