Skip to content

Commit

Permalink
Re-order arguments to keep original order for existing arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
rwlogel committed Jun 18, 2018
1 parent 9fca728 commit 74f5c5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simple_history/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ class HistoricalRecords(object):
def __init__(self, verbose_name=None, bases=(models.Model,),
user_related_name='+', table_name=None, inherit=False,
excluded_fields=None, history_id_field=None,
user_model=None, get_user=default_get_user,
history_change_reason_field=None):
history_change_reason_field=None,
user_model=None, get_user=default_get_user):
self.user_set_verbose_name = verbose_name
self.user_related_name = user_related_name
self.table_name = table_name
self.inherit = inherit
self.history_id_field = history_id_field
self.history_change_reason_field = history_change_reason_field
self.user_model = user_model
self.get_user = get_user
self.history_change_reason_field = history_change_reason_field
if excluded_fields is None:
excluded_fields = []
self.excluded_fields = excluded_fields
Expand Down

0 comments on commit 74f5c5a

Please sign in to comment.