2010-04-20 22:39:46 +08:00
|
|
|
from django.db import models
|
2011-10-14 02:51:33 +08:00
|
|
|
from django.contrib.comments.models import Comment
|
|
|
|
|
2010-04-20 22:39:46 +08:00
|
|
|
|
|
|
|
# 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)
|