title: Show All Data Using python manage.py shell
body: <p>I have tried to migrate my database but am still having issues. I wanted to try and look at all my sites databases via Command Prompt. I want to try and see which columns do or don't exist in models. </p>
  
  <p>I did <code>python manage.py shell</code> but then could not work out the queries that would allow me to see all the information in both my sites databases. </p>
  
  <p><a href="https://i.stack.imgur.com/QK7Ir.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QK7Ir.png" alt="enter image description here"></a></p>
  
  <pre><code>(project2_env) C:\Users\HP\django_project3&gt;python manage.py shell
  (InteractiveConsole)
  &gt;&gt;&gt; from blog.models import Post
  &gt;&gt;&gt; from django.contrib.auth.models import User
  &gt;&gt;&gt; User.objects.all()
  &lt;QuerySet [&lt;User: RossSymonds&gt;, &lt;User: RossTheExplorer&gt;, &lt;User: RossSymondsFacebook&gt;, &lt;User: testuser&gt;]&gt;
  &gt;&gt;&gt; objects.all()
  </code></pre>