fixed AppRegistryNotReady error with autodiscover, but now the @task decorator on the celery tasks causes the same issue