Skip to content

Commit

Permalink
Set default to not populate an accessor for historical models on the …
Browse files Browse the repository at this point in the history
…User model
  • Loading branch information
macro1 committed Apr 14, 2015
1 parent ba5c75d commit 6645b5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tip (unreleased)
----------------
- Add support for Django 1.8+
- Deprecated use of ``CustomForeignKeyField`` (to be removed)
- Remove default reverse accessor to `auth.User` for historical models (gh-121)

1.5.4 (2015-01-03)
------------------
Expand Down
2 changes: 1 addition & 1 deletion simple_history/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class HistoricalRecords(object):
thread = threading.local()

def __init__(self, verbose_name=None, bases=(models.Model,),
user_related_name=None):
user_related_name='+'):
self.user_set_verbose_name = verbose_name
self.user_related_name = user_related_name
try:
Expand Down

0 comments on commit 6645b5a

Please sign in to comment.