Hello,

OS Debian Gnu Linux Lenny
Python 2.5
Installed python-django_1.0.2-1+lenny2_all.deb with K-package  instead
of  Django-1.1.1.tar.gz,

it was configured according instalation site:
http://docs.djangoproject.com/en/dev/topics/install/#installing-official-release
working:/mano/mysite1# ln -s 'pwd'/django-trunk/django/bin/django-
admin.py /usr/local/bin



trying to run     example
in folder            Django-1.1.1/examples after untaring file:///opt/sql
anywhere files/sqlany-django.1.1.tar.gz
acording to       http://docs.djangoproject.com/en/dev/intro/tutorial01/
command        python manage.py syncdb
gives an error  File "/var/lib/python-support/python2.5/django/db/
backends/dummy/base.py", line 15, in complain
    raise ImproperlyConfigured, "You haven't set the DATABASE_ENGINE
setting yet."

How to set DATABASE_ENGINE?


settings.py
-----------------------------------------------------------------------------------------------------------------------------
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ROOT_URLCONF = 'examples.urls'

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': '/mano/mysite1/band1.db'
    }
}
-------------------------------------------------------------------------------------------------------------------------------------

command
working:/mano/mysite1# python manage.py syncdb

error
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/var/lib/python-support/python2.5/django/core/management/
__init__.py", line 340, in execute_manager
    utility.execute()
  File "/var/lib/python-support/python2.5/django/core/management/
__init__.py", line 295, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/var/lib/python-support/python2.5/django/core/management/
base.py", line 192, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/var/lib/python-support/python2.5/django/core/management/
base.py", line 219, in execute
    output = self.handle(*args, **options)
  File "/var/lib/python-support/python2.5/django/core/management/
base.py", line 348, in handle
    return self.handle_noargs(**options)
  File "/var/lib/python-support/python2.5/django/core/management/
commands/syncdb.py", line 51, in handle_noargs
    cursor = connection.cursor()
  File "/var/lib/python-support/python2.5/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.
working:/mano/mysite1#

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to