DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'data.db', # Or path to database file if using sqlite3. 'USER': '', # Not used with sqlite3. 'PASSWORD': '', # Not used with sqlite3. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 'PORT': '', # Set to empty string for default. Not used with sqlite3. } }
On Monday, May 20, 2013 2:14:41 PM UTC+8, Sun Simon wrote: > > *Basic Facts:* > OS: Windows > Python version: 2.7 > Django Version: Instant Django( > https://groups.google.com/forum/?fromgroups#!topic/django-users/WLA0ziqbwpg) > . > > I have Django installed using Instant Django and everything is fine until > I beging to fiddle with database settings. Here is what my setting.py looks > like: > > > <https://lh6.googleusercontent.com/-uvtJcfPgzdM/UZm-ho5e1XI/AAAAAAAAAHI/qFZDxkuQaG8/s1600/11.jpg> > > > > > > > And when I type in python manage.py syncdb in cmd and here is what I get: > > > <https://lh4.googleusercontent.com/-Btr628fLTkY/UZm_FbTdFlI/AAAAAAAAAHQ/ANZpl57TBzo/s1600/11.jpg> > > > > > > > > > > > What is wrong here and can someone help with this? > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.