Try reinstall django .
Set first name of database
Use python manage.py syncdb to set user and more .
See corect steps here : 
http://www.webmonkey.com/2010/02/install_django_and_build_your_first_app/


On Apr 6, 7:29 am, yangyang <juz...@gmail.com> wrote:
> I followed the tutorial and set up the database engine as SQLight and
> it seemed to be successful. However, when I try to do "python
> manage.py syncdb", it returns error message like
> File "manage.py", line 11, in <module>
>     execute_manager(settings)
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/core/management/__init__.py", line 362,
> in execute_manager
>     utility.execute()
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/core/management/__init__.py", line 303,
> in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/core/management/base.py", line 195, in
> run_from_argv
>     self.execute(*args, **options.__dict__)
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/core/management/base.py", line 222, in
> execute
>     output = self.handle(*args, **options)
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/core/management/base.py", line 351, in
> handle
>     return self.handle_noargs(**options)
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/site-packages/django/core/management/commands/syncdb.py",
> line 49, in handle_noargs
>     cursor = connection.cursor()
>   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
> python2.6/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.
>
> I wonder what went wrong... Could anyone help me out here? Thanks!

-- 
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