Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1360 closed defect (invalid)

" sql polls" raises exception

Reported by: Jarosław Zabiełło Owned by: Jacob
Component: Documentation Version: master
Severity: major Keywords: manual
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When I try to follow
After ./ sql polls something is wrong

./ sql polls
Traceback (most recent call last):
  File "./", line 11, in ?
  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/", line 1021, in execute_manager execute_from_command_line(action_mapping)
  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/", line 996, in execute_from_command_line output = action_mapping[action](mod)
  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/", line 70, in get_sql_create for klass in mod._MODELS:
AttributeError: 'module' object has no attribute '_MODELS'

Change History (2)

comment:1 Changed 13 years ago by Adrian Holovaty

Resolution: invalid
Status: newclosed

Your polls/models/ doesn't contain this:

__all__ = ['polls']

comment:2 Changed 12 years ago by Adrian Holovaty

milestone: Version 0.91

Milestone Version 0.91 deleted

Note: See TracTickets for help on using tickets.
Back to Top