summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/app_with_import/models.py
blob: 06ca0e8a3433240e9b14c97ea60c85bbd36ccf4e (plain)
1
2
3
4
5
6
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)