Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#1158 closed defect (fixed)

'django-admin.py sql polls' doesnt work with sqlite3 and svn-version of 2006-01-03

Reported by: bgeiring@… Owned by: Adrian Holovaty
Component: Core (Management commands) Version: dev
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Im a new user to django. I followed the tutorial and instlled django from svn-trunk.

Versions used: python 2.4.2, sqlite-3.2.8, pysqlite-2.0.5, django svn of 2006-01-03
pysqlite test ran with success.

My error from running django-admin.py sql polls

BEGIN;
Traceback (most recent call last):
  File "/usr/bin/django-admin.py", line 5, in ?
    management.execute_from_command_line()
  File "/usr/lib/python2.4/site-packages/django/core/management.py", line 958, in execute_from_command_line
    output = action_mapping[action](mod)
  File "/usr/lib/python2.4/site-packages/django/core/management.py", line 65, in get_sql_create
    for klass in mod._MODELS:
AttributeError: 'module' object has no attribute '_MODELS'

Change History (1)

comment:1 by bgeiring@…, 19 years ago

Resolution: fixed
Status: newclosed

My error. polls.py wasn't in the right place. Sorry

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