id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 2571,"SyntaxError working through ""writing 1st django app pt 1"" tutorial",since1968,Adrian Holovaty,"Working through the tutorial (http://www.djangoproject.com/documentation/tutorial1/) I get a syntax error when I run the following line: python manage.py sql polls. I named the project ""tutorial"" instead of ""mysite"" but other than that everything is the same. I copied and pasted the model code. I'm using the development version downloaded from svn. I'm on OS X and my database is MySQL. The error message, in full: towy:~/sites/django/tutorial marc$ python manage.py sql polls Traceback (most recent call last): File ""manage.py"", line 11, in ? execute_manager(settings) File ""/usr/local/lib/python2.4/site-packages/django/core/management.py"", line 1343, in execute_manager execute_from_command_line(action_mapping, argv) File ""/usr/local/lib/python2.4/site-packages/django/core/management.py"", line 1294, in execute_from_command_line mod_list = [models.get_app(app_label) for app_label in args[1:]] File ""/usr/local/lib/python2.4/site-packages/django/db/models/loading.py"", line 40, in get_app mod = load_app(app_name) File ""/usr/local/lib/python2.4/site-packages/django/db/models/loading.py"", line 51, in load_app mod = __import__(app_name, '', '', ['models']) File ""/Users/marc/Sites/django/tutorial/../tutorial/polls/models.py"", line 10 votes models.IntegerField() ^ SyntaxError: invalid syntax ",defect,closed,Core (Other),dev,normal,invalid,,,Unreviewed,0,0,0,0,0,0