Monday, May 22, 2017

Re: tutorial on using dbshell?



On May 22, 2017 2:20 PM, <jjanderson52000@gmail.com> 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 the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment