LOGGING = {'version': 1, 'disable_existing_loggers': True, 'formatters': {
    'simple': {'format': '%(levelname)s %(message)s'}}, 'handlers': {
    'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler',
    'formatter': 'simple'}}, 'loggers': {'django': {'handlers': ['console'],
    'level': 'DEBUG'}}}
How to debug: Internal Error current transaction is aborted, commands ignored until end of transaction block