#1158 closed defect (fixed)
'django-admin.py sql polls' doesnt work with sqlite3 and svn-version of 2006-01-03
| Reported by: | 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'
Note:
See TracTickets
for help on using tickets.
My error. polls.py wasn't in the right place. Sorry