Created
May 29, 2012 00:16
-
-
Save jrabbit/2821825 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. | |
'NAME': '/data.db' # Or path to database file if using sqlite3. | |
#'USER': '', # Not used with sqlite3. | |
#'PASSWORD': '', # Not used with sqlite3. | |
#'HOST': '', # Set to empty string for localhost. Not used with sqlite3. | |
#'PORT': '', # Set to empty string for default. Not used with sqlite3. | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "manage.py", line 9, in <module> | |
execute_from_command_line(sys.argv) | |
File "/sw/lib/python2.7/site-packages/django/core/management/__init__.py", line 440, in execute_from_command_line | |
utility.execute() | |
File "/sw/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/sw/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/sw/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute | |
output = self.handle(*args, **options) | |
File "/sw/lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle | |
return self.handle_noargs(**options) | |
File "/sw/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 57, in handle_noargs | |
cursor = connection.cursor() | |
File "/sw/lib/python2.7/site-packages/django/db/backends/dummy/base.py", line 15, in complain | |
raise ImproperlyConfigured("You haven't set the database ENGINE setting yet.") | |
django.core.exceptions.ImproperlyConfigured: You haven't set the database ENGINE setting yet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment