We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0001c47 commit 436edbaCopy full SHA for 436edba
simple_history/tests/external/models/__init__.py
@@ -1,4 +1,18 @@
1
from __future__ import unicode_literals
2
3
+from django.db import models
4
+from simple_history.models import HistoricalRecords
5
+
6
from .model2 import ExternalModel2
7
from .model4 import ExternalModel4
8
9
10
+class Poll(models.Model):
11
+ """Test model for same-named historical models
12
13
+ This model intentionally conflicts with the 'Polls' model in 'tests.models'.
14
+ """
15
+ history = HistoricalRecords()
16
17
+ class Meta:
18
+ app_label = 'external'
0 commit comments