mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Merged regressiontests and modeltests into the test root.
This commit is contained in:
0
tests/admin_scripts/app_with_import/__init__.py
Normal file
0
tests/admin_scripts/app_with_import/__init__.py
Normal file
8
tests/admin_scripts/app_with_import/models.py
Normal file
8
tests/admin_scripts/app_with_import/models.py
Normal file
@@ -0,0 +1,8 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user