from django.apps import AppConfig
from django.conf import settings


class EthereumEventsConfig(AppConfig):
    name = 'django_ethereum_events'

    def ready(self):
        super(EthereumEventsConfig, self).ready()
        app.config_from_object('django.conf:settings')
        app.autodiscover_tasks(lambda: settings.INSTALLED_APPS, force=True)

from django.apps import AppConfig
from django.conf import settings


class EthereumEventsConfig(AppConfig):
    name = 'django_ethereum_events'

Fix for the previous commit (Celery app removal)
Fix for the previous commit (Celery app removal)

Haven't paid enough attention and missed what ready method does.
Removed the code. Libraries shouldn't do this - it's main project responsibility.