On Tuesday, 10 April 2012 22:15:40 UTC+1, Ed McLaughlin wrote:
>
> DATABASES = { 
>     'default': { 
>         'ENGINE': 'django.db.backends.sqlite3', # Add 
> 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 
>         'NAME': '/usr/local/mysql/data/mysite',                      # 
> 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. 
>     } 
> } 
>

You haven't given the path to a file in the NAME value, as requested - 
you've given the path to a directory.
--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/R4t7qhr__mMJ.
To post to this group, send email to django-users@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