25 views
Skip to first unread message

vinoth kumar renganathan

unread,
Nov 13, 2012, 9:00:54 AM11/13/12
to django...@googlegroups.com
i am new one to the django
when i am running
                      
                 ./manage.py syncdb

i got this in my terminal

                     Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 371, in handle
    return self.handle_noargs(**options)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 57, in handle_noargs
    cursor = connection.cursor()
  File "/usr/local/lib/python2.7/dist-packages/django/db/backends/dummy/base.py", line 15, in complain
    raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.

so some one please  provide the solution to this problem



Bill Freeman

unread,
Nov 13, 2012, 9:46:40 AM11/13/12
to django...@googlegroups.com
You must edit the DATABASES setting in settings.py to choose a configuration.  For the tutorial you probably want to use sqlite3.  You will also have to specify a file path where sqlite3 will create its file.  See the comments in the DATABASES section.

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

kasun herath

unread,
Nov 13, 2012, 9:53:57 AM11/13/12
to django...@googlegroups.com
Hello Vinod

I think official django getting started guide would help you immensely since you are just starting out. The section you should look at to resolve your issue is https://docs.djangoproject.com/en/1.4/intro/tutorial01/#database-setup

Reply all
Reply to author
Forward
0 new messages