mirror of
https://github.com/django/django.git
synced 2024-12-24 10:05:46 +00:00
9 lines
289 B
Python
9 lines
289 B
Python
from django.db import models
|
|
from django.contrib.comments.models import Comment
|
|
|
|
|
|
# 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)
|