The main difference is that firing manage.py sql myapphere
will show the queries used to create the schema for your database, while the ouput of myapp.objects.all()
will simply return a list of the entries in that database.
For example, if you had a list of articles, the manage.py sql command would show the myapp properties while myapp.objects.all() will show the instances of myapp in the database.
To further extrapolate your problem, try opening up your DB client and make sure the column names match the ones described in your model. If they don't match up, you might need to drop the table and resync your database (I definitely had that problem).