Skip to content

Instantly share code, notes, and snippets.

@jayachandp
Created March 12, 2014 15:00
Show Gist options
  • Save jayachandp/9508698 to your computer and use it in GitHub Desktop.
Save jayachandp/9508698 to your computer and use it in GitHub Desktop.
Error while syncdb
Traceback (most recent call last):
File "manage.py", line 24, in <module>
execute_from_command_line(sys.argv)
File "/Users/jay/Envs/scankartenv/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/Users/jay/Envs/scankartenv/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/jay/Envs/scankartenv/lib/python2.7/site-packages/django/core/management/__init__.py", line 272, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/Users/jay/Envs/scankartenv/lib/python2.7/site-packages/django/core/management/__init__.py", line 75, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/Users/jay/Envs/scankartenv/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/Users/jay/Envs/scankartenv/lib/python2.7/site-packages/south/management/commands/__init__.py", line 10, in <module>
import django.template.loaders.app_directories
File "/Users/jay/Envs/scankartenv/lib/python2.7/site-packages/django/template/loaders/app_directories.py", line 25, in <module>
raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))
django.core.exceptions.ImproperlyConfigured: ImportError projsite.apps.website: cannot import name CountryField
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment