diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-06-29 18:34:41 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-06-29 18:49:37 +0200 |
| commit | acd7b34aafe352ef604edcb73f75041c5cbba6b9 (patch) | |
| tree | eecb1df66a2070e9a357380fba89febd38c488f4 /tests/admin_scripts/app_with_import/models.py | |
| parent | 8b9b8d3bda09eb1b447631182d06c6c5e51425f6 (diff) | |
Advanced deprecation warnings for Django 1.7.
Diffstat (limited to 'tests/admin_scripts/app_with_import/models.py')
| -rw-r--r-- | tests/admin_scripts/app_with_import/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/admin_scripts/app_with_import/models.py b/tests/admin_scripts/app_with_import/models.py index 17a892bd17..89125c386f 100644 --- a/tests/admin_scripts/app_with_import/models.py +++ b/tests/admin_scripts/app_with_import/models.py @@ -1,8 +1,8 @@ from django.db import models -from django.contrib.comments.models import Comment +from django.contrib.auth.models import User # 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) +class UserProfile(models.Model): + user = models.OneToOneField(User, primary_key=True) |
