title: django tutorial manage.py sql polls produces no output
body: <p>THIS IS NOW FIXED: the problem was.. code did exist in the models, it was saved correctly as I have shutdown and rebooted overnight and the code was saved correctly. However, when i commited to github, someone correctly noticed it was missing. The models file appeared to be empty. I cut, then re pasted the code back in, saved, and pushed it back up to the repo. When I ran manage.py sql polls again, the correct sql was generated. no idea what the problem was, it was saved to disk correctly. Thanks to anyone that took a look.</p>
  
  <p>I am just going through the django tutorial, I am on ubuntu with django 1.4.1 installed, using python 2.7, and MySql as the db. I have created the database and run syncdb successfully to create the default tables.</p>
  
  <p>Everything has worked so far, and all the correct directories appear to have been created. My models have no typos (after searching for an answer I have noticed that previous versions of the tutorial have contained typos and other errors). I have searched for a while now, and no answer that has been posted before seems to fix the problem I am having. </p>
  
  <p>django is correctly installed, from the terminal I can successfully import django.</p>
  
  <p>I have added 'polls' to the INSTALLED_APPS.</p>
  
  <p>When I run python manage.py sql polls, it simply goes to the next line in the terminal with no output and no errors. if I run manage.py validate I get no errors. </p>
  
  <p>I could be wrong, but I believe that when I ran python manage.py startapp polls, it should have added the path to this app to the PYTHONPATH, this does not seem to have happened.</p>
  
  <p>However, when I temporarily add the path using sys.path.append(... it is there, but this does not fix the problem either. Help greatly appreciated been looking for a while.. </p>
  
  <p>thanks</p>
  
  <p>as requested in comments, here is the tree structure of the project</p>
  
  <pre><code>└── mysite
      ├── manage.py
      ├── mysite
      │   ├── __init__.py
      │   ├── __init__.pyc
      │   ├── settings.py
      │   ├── settings.pyc
      │   ├── urls.py
      │   ├── urls.pyc
      │   ├── wsgi.py
      │   └── wsgi.pyc
      └── polls
          ├── __init__.py
          ├── __init__.pyc
          ├── models.py
          ├── models.pyc
          ├── tests.py
          └── views.py
  </code></pre>