Hi James,

I'm looking at the sqlite3 documentation now, but I'm still not quite sure
how to run the dbshell. Once I am in the shell, I assume that I can run
sqlite3 commands as needed. But when I enter:

*% python manage.py dbshell*

I get the following error messages:



*setting.py: BASE_DIR =  /home/jja/...FINISHED settings.pyCommandError: You
appear not to have the 'sqlite3' program installed or on your path.*

Am I invoking it properly? Do I have to change my configuration?

Jim A.


On Mon, May 22, 2017 at 5:28 PM, James Schneider <[email protected]>
wrote:

>
>
> On May 22, 2017 2:20 PM, <[email protected]> wrote:
>
>
> I'm working with Django 1.10.3 and I'm trying to look at the database
> tables generated by Django using makemigrations and migrate. I was looking
> to use 'python manage.py sql', but it looks like that is no longer
> available. In a recent question to Django users, I was advised to use
> dbshell which I am planning to do, but thus fair I have not found and
> instructions or a tutorial on how to use deshell. Can someone point me to
> instructions?
>
>
> The dbshell command is simply a convenience command for opening the
> standard management console for your specific database. That interface will
> be different depending on the type of database you are using (MySQL,
> Postgres, or SQLite). You can find the commands for each database
> management tool by searching for "<database type> commands tutorial", as an
> example.
>
> -James
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/django-users/YYgAsqFhT8w/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CA%2Be%2BciWZyW7Q_xzDYrEBFzAHSjDD_
> XBBD%2Bh2XGbOCoePcFLueA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2Be%2BciWZyW7Q_xzDYrEBFzAHSjDD_XBBD%2Bh2XGbOCoePcFLueA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAB5UADGurJko5ZHWtott%2BRO2%2BtO_%2BjOb2vbvYd3%2BEf1rE5S-OA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to