I'm was digging around more, too, and finally i've set up a small test
environment with django (r12955), just an project with a single app:
django-admin.py startproject mytest
cd mytest
django-admin.py startapp blog
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.comments', # <-- Added comments app
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'blog',
)
blog/models.py:
from django.db import models
from django.contrib.comments.models import Comment
c-y:mytest erik$ ./manage.py validate
Error: cannot import name Comment
I'd would definetly consider this a bug in django, but I've no idea how to
design a regression test for this, sorry. I'll try to understand what these app
loading changes do.
greetings
-- erik
Am 17.04.2010 um 02:09 schrieb Derek Hoy:
> On Sat, Apr 17, 2010 at 12:36 AM, Derek Hoy <[email protected]> wrote:
>>
>> I'll dig around a bit more.
>
> The problems seemed to come from the same models.py that was shared
> across the projects. I moved a couple of imports and it seems fine
> with trunk (r12996).
>
> So it looks like it's the change in the error handling that is showing
> up problems in the code.
>
> And that means we should be in django-users :)
>
> Derek
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.