-
-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
from __future__ import unicode_literals | ||
|
||
from django.db import models | ||
from simple_history.models import HistoricalRecords | ||
|
||
from .model2 import ExternalModel2 | ||
from .model4 import ExternalModel4 | ||
|
||
|
||
class Poll(models.Model): | ||
"""Test model for same-named historical models | ||
This model intentionally conflicts with the 'Polls' model in 'tests.models'. | ||
""" | ||
history = HistoricalRecords(user_related_name='+') | ||
|
||
class Meta: | ||
app_label = 'external' |