Saturday, March 26, 2011

Re: Verify sqlite connection from the comand line

Follow the instructions in the beginning of the Django tutorial to set
up sqlite3
as your database.

Then:

manage.py dbshell

This should bring you to the sqlite3 interactive prompt if it works.

For extra fun you can create a simple model then try this:

manage.py syncdb

This will actually do something to the database, which you can then
delete (obviously).

Shawn

--
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