On Sat, Apr 17, 2010 at 4:38 AM, Erik Stein <[email protected]> wrote:
>
> 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:

You meant r12995 here,  right?

>
> 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.

I think this has already been reported in ticket 13366, Comment is a
model that inherits from an abstract base class that has fields
(BaseCommentAbstractModel).

-- 
Ramiro Morales  |  http://rmorales.net

-- 
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.

Reply via email to