Hi all -

This is my first post to the group; I am a new Django user and am very
enthusiastic about working with the framework. However, I am having
trouble with one thing in particular. I am trying to set up Review
Board, a Django project supporting code reviews, and am having
problems with the server (both the development server and Apache)
crashing, completely silently with no output even when the development
server is being run with --traceback. I am running under Windows XP,
which I realize is unknown territory to a certain extent. In any case,
to try to get at least some sense of what was going on, I set
DJANGO_SETTINGS_MODULE and tried to run the offending view on the
command line (which I'm not sure makes sense anyway). I get the
following traceback, but I'm not sure if it's the real deal or a red
herring - if this were causing the crashes, it seems that the
traceback would be captured by one or both of the servers. Any ideas
about how to fix it would be greatly appreciated! Or if I'm barking up
the wrong tree altogether, that would be good to learn, too.

Thanks -

Traceback (most recent call last):
  File "C:\reviewboard\reviews\views.py", line 4, in <module>
    from django.contrib.auth.models import User
  File "C:\progra~1\Python25\Lib\site-packages\django\contrib\auth
\models.py", line 4, in <module>
    from django.db import models
  File "C:\progra~1\Python25\Lib\site-packages\django\db\models
\__init__.py", line 6, in <module>
    from django.db.models.query import Q
  File "C:\progra~1\Python25\Lib\site-packages\django\db\models
\query.py", line 5, in <module>
    from django.db.models.fields import DateField, FieldDoesNotExist
  File "C:\progra~1\Python25\Lib\site-packages\django\db\models\fields
\__init__.
py", line 16, in <module>
    from django import oldforms
  File "C:\progra~1\Python25\Lib\site-packages\django\oldforms
\__init__.py", line 3, in <module>
    from django.utils.html import escape
  File "C:\progra~1\Python25\Lib\site-packages\django\utils\html.py",
line 9, in <module>
    from django.utils.http import urlquote
  File "C:\progra~1\Python25\Lib\site-packages\django\utils\http.py",
line 2, in <module>
    from email.Utils import formatdate
  File "C:\reviewboard\reviews\email.py", line 4, in <module>
    from django.contrib.sites.models import Site
  File "C:\progra~1\Python25\Lib\site-packages\django\contrib\sites
\models.py",
line 1, in <module>
    from django.db import models
ImportError: cannot import name models

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

Reply via email to