Monday, November 1, 2010

Re: cannot setup database

On Nov 1, 7:24 am, sami nathan <itssami.g...@gmail.com> wrote:
> My setting file looks like this
...
> DATABASES = {
>     'default': {
>         'ENGINE': 'django.db.backends.sqlite3', # Add
> 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
>         'NAME':
> 'D:\Python25\Lib\site-packages\django\bin\flyp\sqlite3.db',
>           # Or path to database file if using sqlite3.

The admonition under TEMPLATE_DIRS, "Always use forward slashes, even
on Windows", applies equally for database paths.

However it is an extremely bad idea to keep your database in your
django/bin directory. I hope you're not putting the rest of your app
there, it's completely the wrong place for it.
--
DR.

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

No comments:

Post a Comment