I am following the Django tutorial (https://docs.djangoproject.com/en/ 1.4/intro/tutorial01/#activating-models) and when I got to running "python manage.py sql polls" it did not print any output. It did not print any errors, nor the expected SQL statements. I assumed that because "exact output will vary depending on the database you are using" that I was ok so I continued on. I then ran "python manage.py syncdb" which did not give any errors. Eventually, I discovered that I had an error when I entered the shell and tried to import "Polls" and Choice". I went back and discover a typo in "polls/models.py" and fixed it.
My question: Should "python manage.py sql polls" or even "python manage.py syncdb" return an error when the models.py code has errors? Django 1.4 Python 2.7.2 Amazon Linux -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.