I am running this tutorial:
http://www.djangoproject.com/documentation/tutorial1/
but, I get this error, the command is at the top of the page

python django-admin.py sql newpolls

django error:

http://www.djangoproject.com/documentation/tutorial1/

BEGIN;
Traceback (most recent call last):
  File "django-admin.py", line 128, in ?
    main()
  File "django-admin.py", line 121, in main
    output = ACTION_MAPPING[action](mod)
  File
"/usr/lib/python2.3/site-packages/django-1.0.0-py2.3.egg/django/core/management.
py", line 56, in get_sql_create
    for klass in mod._MODELS:
AttributeError: 'module' object has no attribute '_MODELS'

Reply via email to