changeset 307 | c6bca38c1cbf |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/parts/django/tests/regressiontests/admin_scripts/app_with_import/models.py Sat Jan 08 11:20:57 2011 +0530 @@ -0,0 +1,7 @@ +from django.contrib.comments.models import Comment +from django.db import models + +# Regression for #13368. This is an example of a model +# that imports a class that has an abstract base class. +class CommentScore(models.Model): + comment = models.OneToOneField(Comment, primary_key=True)