mirror of
https://github.com/Hopiu/django.git
synced 2026-03-19 07:20:31 +00:00
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
7 lines
288 B
Python
7 lines
288 B
Python
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)
|