I'm using Django 1.8.
I'm trying to wire up the django-registration user_registration signal.
To wire up a signal, this post is pretty explicit: use AppConfig.ready(). I think I have it wired up correctly, but clearly I don't, because it's not working. So, to see what happened, I deliberately misspelled the name of the config class in my registrationapp/__init__.py:
default_app_config = 'registrationapp.apps.RegistrationAppConfgOOPS'
I don't see any error message, or any message.
How do I tell if registrationapp/__init__.py is even being loaded, and if the right app config is being created and loaded?
By the way, I set up console logging exactly as described here, but it doesn't log much to the console, not sure why. (It does log the GET requests, but they look to be different logging.)
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'class': 'logging.StreamHandler',
},
},
'loggers': {
'django': {
'handlers': ['console'],
'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
},
},
}