On Feb 18, 11:24 pm, "j...@jsdey.com" <j...@jsdey.com> wrote:
> I'm another newbe and need you patient consideration.
>
> I've worked my way through the polls tutorial.  Thinks seem to be
> working with django server.  When I use Django/Wsgi I vote from an
> external site but django is unable to open database from the line
> selected_choice.save().  The error message from debug is listed
> below.  Any guidance would be greatly appeciated. Thanks.

I don't know the real source of this error, but I guess there are a
couple of choices. In Django/WSGI setup the name of the database file
(settings.DATABASES -> NAME) isn't actually pointing to the correct
database file. Try using full file path for the NAME. Maybe this is
due to multithreading/multiprocess issues? So, you would get multiple
users for the same file, and SQLite doesn't support this.

I think at this point you should consider using a database meant for
production-scale webapp development. SQLite is a very nice database,
but it isn't meant for production web application deployments, and
using Django/WSGI suggests you are looking for "real deployment". I
recommend you install PostgreSQL.

 - Anssi

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to