On Dec 30, 2009, at 2:22 PM, gintare wrote: > 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' > } > } > ------------------------------------------------------------------------------------------------------------------------------------- > You are reading documentation for the development version of Django, not Django 1.1.1. The docs you need are here: http://docs.djangoproject.com/en/1.1/intro/tutorial01/#database-setup
-- 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.