Re: set up database engine
Hi Thierry, Thanks for the reply. I understand what SQLight is but I don't know how to write the code in my Mac shell... This is what I wrote: yang-wangs-computer:~/applications/mysite yangwang$ database_engine='sqlite3' yang-wangs-computer:~/applications/mysite yangwang$ database_name='trydb' yang-wangs-computer:~/applications/mysite yangwang$ python manage.py syncdb It returns message like the database engine isn't installed. what's missing here? Thank you again! Yang On Apr 8, 3:50 am, Thierry CHICH wrote: > Perhaps are you confused because of SQLlite. You need to know that SQLite is > not a classicaldatabasewith a server that you need to install. An > sqlitedatabaseis only a file stored where do you want. > > Thierry > > > > > I mean the tutorial only tells you "edit settings" but doesn't tell > > you how. Excuse me if this is obvious to most of people. > > > On Apr 7, 11:17 pm, yangyang wrote: > > > how exactly set up thedatabaseengineas SQLight? The tutorial > > > doesn't seem to tell us... > > > > 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.
Re: set up database engine
I mean the tutorial only tells you "edit settings" but doesn't tell you how. Excuse me if this is obvious to most of people. On Apr 7, 11:17 pm, yangyang wrote: > how exactly set up the database engine as SQLight? The tutorial > doesn't seem to tell us... > > 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.
set up database engine
how exactly set up the database engine as SQLight? The tutorial doesn't seem to tell us... 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.
database engine problem
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 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.
installation question
I'm trying to download Django on my Mac OS X 10.4.11. I have download Python 2.6.4. And then the online Tutorial says this: tar xzvf Django-1.1.1.tar.gz cd Django-1.1.1 sudo python setup.py install I wonder where should I run this? By Python Shell or what? Sorry if this seems to be a stupid question but I'm a programming beginner... 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.