Skip to content

Commit 6645b5a

Browse files
committed
Set default to not populate an accessor for historical models on the User model
1 parent ba5c75d commit 6645b5a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ tip (unreleased)
55
----------------
66
- Add support for Django 1.8+
77
- Deprecated use of ``CustomForeignKeyField`` (to be removed)
8+
- Remove default reverse accessor to `auth.User` for historical models (gh-121)
89

910
1.5.4 (2015-01-03)
1011
------------------

simple_history/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class HistoricalRecords(object):
3737
thread = threading.local()
3838

3939
def __init__(self, verbose_name=None, bases=(models.Model,),
40-
user_related_name=None):
40+
user_related_name='+'):
4141
self.user_set_verbose_name = verbose_name
4242
self.user_related_name = user_related_name
4343
try:

0 commit comments

Comments
 (0)