Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#2219 closed defect (invalid)

Skip the step to edit the

Reported by: Jza Owned by: Jacob
Component: Documentation Version: 0.91
Severity: minor Keywords:, database, development server,
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The tutorial1 has a tiny bug between the project start and the development server part. At no point they stop to configure the setting, this cause an error for not finding a running database. I suggest to put a paragraph to configure the database before the development server. Or make a note that the following is ok until you configure the setting file:

1	python runserver  
2	Validating models...  
3	Unhandled exception in thread started by <function inner_run at 0xb78d217c>  
4	Traceback (most recent call last):  
5	  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/", line 757, in inner_run  
6	    validate()  
7	  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/", line 741, in validate  
8	    num_errors = get_validation_errors(outfile)  
9	  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/", line 634, in get_validation_errors  
10	    import django.models  
11	  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/models/", line 1, in ?  
12	    from django.core import meta  
13	  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/meta/", line 3, in ?  
14	    from django.core import db  
15	  File "/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/core/db/", line 23, in ?  
16	    raise ImproperlyConfigured, "Could not load database backend: %s. Is your DATABASE_ENGINE setting (currently, %r) spelled correctly? Available options are: %s" % \  
17	django.core.exceptions.ImproperlyConfigured: Could not load database backend: No module named psycopg. Is your DATABASE_ENGINE setting (currently, 'postgresql') spelled correctly? Available options are: 'ado_mssql', 'mysql', 'postgresql', 'sqlite3'  }}}

Change History (2)

comment:1 Changed 13 years ago by Adrian Holovaty

Resolution: invalid
Status: newclosed

The docs you were reading apply to the Django development version, not 0.91. You're looking for the 0.91 docs.

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