Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7f0047a0c510> Traceback (most recent call last): File "/home/whomi/demo/lib/python3.5/site-packages/django/db/backends/mysql/base.py", line 24, in <module> import MySQLdb as Database ImportError: No module named 'MySQLdb'
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/whomi/demo/lib/python3.5/site-packages/django/utils/autoreload.py", line 229, in wrapper fn(*args, **kwargs) File "/home/whomi/demo/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 107, in inner_run autoreload.raise_last_exception() File "/home/whomi/demo/lib/python3.5/site-packages/django/utils/autoreload.py", line 252, in raise_last_exception six.reraise(*_exception) File "/home/whomi/demo/lib/python3.5/site-packages/django/utils/six.py", line 685, in reraise raise value.with_traceback(tb) File "/home/whomi/demo/lib/python3.5/site-packages/django/utils/autoreload.py", line 229, in wrapper fn(*args, **kwargs) File "/home/whomi/demo/lib/python3.5/site-packages/django/__init__.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/home/whomi/demo/lib/python3.5/site-packages/django/apps/registry.py", line 108, in populate app_config.import_models(all_models) File "/home/whomi/demo/lib/python3.5/site-packages/django/apps/config.py", line 198, in import_models self.models_module = import_module(models_module_name) File "/home/whomi/demo/lib/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 665, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "/home/whomi/demo/lib/python3.5/site-packages/django/contrib/auth/models.py", line 41, in <module> class Permission(models.Model): File "/home/whomi/demo/lib/python3.5/site-packages/django/db/models/base.py", line 139, in __new__ new_class.add_to_class('_meta', Options(meta, **kwargs)) File "/home/whomi/demo/lib/python3.5/site-packages/django/db/models/base.py", line 324, in add_to_class value.contribute_to_class(cls, name) File "/home/whomi/demo/lib/python3.5/site-packages/django/db/models/options.py", line 250, in contribute_to_class self.db_table = truncate_name(self.db_table, connection.ops.max_name_length()) File "/home/whomi/demo/lib/python3.5/site-packages/django/db/__init__.py", line 36, in __getattr__ return getattr(connections[DEFAULT_DB_ALIAS], item) File "/home/whomi/demo/lib/python3.5/site-packages/django/db/utils.py", line 241, in __getitem__ backend = load_backend(db['ENGINE']) File "/home/whomi/demo/lib/python3.5/site-packages/django/db/utils.py", line 112, in load_backend return import_module('%s.base' % backend_name) File "/home/whomi/demo/lib/python3.5/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 986, in _gcd_import File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 665, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "/home/whomi/demo/lib/python3.5/site-packages/django/db/backends/mysql/base.py", line 27, in <module> raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb' -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a671d32c-47d5-40ed-816a-d94425f7e905%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.