Dear Django users,
Although my question is about the installation of Django and not about
its usage, I really hope you can help me, because I've been struggling
with this for hours.


I'm following the Django on Windows Howto. I have installed Python
2.6, PostgreSQL 8.4, Psycopg 2.0.14 for Python 2.6 and the latest
version of Django from SVN.

I'm now following the following instructions to run a test project
(copied from the tutorial):

C:\Documents and Settings\John>cd C:\
C:\>mkdir django
C:\>cd django
C:\django>django-admin.py startproject testproject
C:\django>cd testproject
C:\django\testproject>python manage.py runserver


When I run the last line, this is the output:


Validating models...
Unhandled exception in thread started by <function inner_run at
0x01ECB930>
Traceback (most recent call last):
  File "J:\Python26\lib\site-packages\django\core\management\commands
\runserver.py", line 48, in inn
er_run
    self.validate(display_num_errors=True)
  File "J:\Python26\lib\site-packages\django\core\management\base.py",
line 249, in validate
    num_errors = get_validation_errors(s, app)
  File "J:\Python26\lib\site-packages\django\core\management
\validation.py", line 22, in get_validat
ion_errors
    from django.db import models, connection
  File "J:\Python26\lib\site-packages\django\db\__init__.py", line 14,
in <module>
    if not settings.DATABASES:
  File "J:\Python26\lib\site-packages\django\utils\functional.py",
line 273, in __getattr__
    return getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'DATABASES'


Did I forget to do something with the database?
Any help will be appreciated. Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to