@@ -3,28 +3,29 @@ Changes
3
3
4
4
Unreleased
5
5
----------
6
- - Add support for `using ` chained manager method and save/delete keyword argument (gh-507)
7
- - Added management command `clean_duplicate_history ` to remove duplicate history entries (gh-483)
6
+ - Add support for `` using ` ` chained manager method and save/delete keyword argument (gh-507)
7
+ - Added management command `` clean_duplicate_history ` ` to remove duplicate history entries (gh-483)
8
8
- Updated most_recent to work with excluded_fields (gh-477)
9
- - Fixed bug that prevented self-referential foreign key from using `'self' ` (gh-513)
9
+ - Fixed bug that prevented self-referential foreign key from using ``'self' `` (gh-513)
10
+ - Added ability to track custom user with explicit custom ``history_user_id_field `` (gh-511)
10
11
11
12
2.6.0 (2018-12-12)
12
13
------------------
13
- - Add `app ` parameter to the constructor of `HistoricalRecords ` (gh-486)
14
- - Add `custom_model_name ` parameter to the constructor of `HistoricalRecords ` (gh-451)
14
+ - Add `` app `` parameter to the constructor of `` HistoricalRecords ` ` (gh-486)
15
+ - Add `` custom_model_name `` parameter to the constructor of `` HistoricalRecords ` ` (gh-451)
15
16
- Fix header on history pages when custom site_header is used (gh-448)
16
- - Modify `pre_create_historircal_record ` to pass `history_instance ` for ease of customization (gh-421)
17
- - Raise warning if HistoricalRecords(inherit=False) is in an abstract model (gh-341)
17
+ - Modify `` pre_create_historical_record `` to pass `` history_instance ` ` for ease of customization (gh-421)
18
+ - Raise warning if `` HistoricalRecords(inherit=False) `` is in an abstract model (gh-341)
18
19
- Ensure custom arguments for fields are included in historical models' fields (gh-431)
19
20
- Add german translations (gh-484)
20
- - Add `extra_context ` parameter to history_form_view (gh-467)
21
- - Fixed bug that prevented `next_record ` and `prev_record ` to work with custom manager names (gh-501)
21
+ - Add `` extra_context ` ` parameter to history_form_view (gh-467)
22
+ - Fixed bug that prevented `` next_record `` and `` prev_record ` ` to work with custom manager names (gh-501)
22
23
23
24
2.5.1 (2018-10-19)
24
25
------------------
25
- - Add `'+' ` as the `history_type ` for each instance in `bulk_history_create ` (gh-449)
26
- - Add support for `history_change_reason ` for each instance in `bulk_history_create ` (gh-449)
27
- - Add `history_change_reason ` in the history list view under the `Change reason ` display name (gh-458)
26
+ - Add `` '+' `` as the `` history_type `` for each instance in `` bulk_history_create ` ` (gh-449)
27
+ - Add support for `` history_change_reason `` for each instance in `` bulk_history_create ` ` (gh-449)
28
+ - Add `` history_change_reason `` in the history list view under the `` Change reason ` ` display name (gh-458)
28
29
- Fix bug that caused failures when using a custom user model (gh-459)
29
30
30
31
2.5.0 (2018-10-18)
@@ -35,12 +36,12 @@ Unreleased
35
36
2.4.0 (2018-09-20)
36
37
------------------
37
38
- Add pre and post create_historical_record signals (gh-426)
38
- - Remove support for `django_mongodb_engine ` when converting AutoFields (gh-432)
39
+ - Remove support for `` django_mongodb_engine ` ` when converting AutoFields (gh-432)
39
40
- Add support for Django 2.1 (gh-418)
40
41
41
42
2.3.0 (2018-07-19)
42
43
------------------
43
- - Add ability to diff HistoricalRecords (gh-244)
44
+ - Add ability to diff `` HistoricalRecords `` (gh-244)
44
45
45
46
2.2.0 (2018-07-02)
46
47
------------------
@@ -54,22 +55,22 @@ Unreleased
54
55
55
56
2.1.0 (2018-06-04)
56
57
------------------
57
- - Add ability to specify custom history_reason field (gh-379)
58
- - Add ability to specify custom history_id field (gh-368)
59
- - Add HistoricalRecord instance properties `prev_record ` and `next_record ` (gh-365)
58
+ - Add ability to specify custom `` history_reason `` field (gh-379)
59
+ - Add ability to specify custom `` history_id `` field (gh-368)
60
+ - Add HistoricalRecord instance properties `` prev_record `` and `` next_record ` ` (gh-365)
60
61
- Can set admin methods as attributes on object history change list template (gh-390)
61
62
- Fixed compatibility of >= 2.0 versions with old-style middleware (gh-369)
62
63
63
64
2.0 (2018-04-05)
64
65
----------------
65
66
- Added Django 2.0 support (gh-330)
66
67
- Dropped support for Django<=1.10 (gh-356)
67
- - Fix bug where history_view ignored user permissions (gh-361)
68
- - Fixed HistoryRequestMiddleware which hadn't been working for Django>1.9 (gh-364)
68
+ - Fix bug where `` history_view `` ignored user permissions (gh-361)
69
+ - Fixed `` HistoryRequestMiddleware `` which hadn't been working for Django>1.9 (gh-364)
69
70
70
71
1.9.1 (2018-03-30)
71
72
------------------
72
- - Use get_queryset rather than model.objects in history_view. (gh-303)
73
+ - Use `` get_queryset `` rather `` than model.objects `` in `` history_view `` . (gh-303)
73
74
- Change ugettext calls in models.py to ugettext_lazy
74
75
- Resolve issue where model references itself (gh-278)
75
76
- Fix issue with tracking an inherited model (abstract class) (gh-269)
@@ -78,13 +79,13 @@ Unreleased
78
79
79
80
1.9.0 (2017-06-11)
80
81
------------------
81
- - Add --batchsize option to the populate_history management command. (gh-231)
82
+ - Add `` --batchsize `` option to the `` populate_history `` management command. (gh-231)
82
83
- Add ability to show specific attributes in admin history list view. (gh-256)
83
84
- Add Brazilian Portuguese translation file. (gh-279)
84
85
- Fix locale file packaging issue. (gh-280)
85
86
- Add ability to specify reason for history change. (gh-275)
86
87
- Test against Django 1.11 and Python 3.6. (gh-276)
87
- - Add `excluded_fields ` option to exclude fields from history. (gh-274)
88
+ - Add `` excluded_fields ` ` option to exclude fields from history. (gh-274)
88
89
89
90
1.8.2 (2017-01-19)
90
91
------------------
@@ -97,18 +98,18 @@ Unreleased
97
98
98
99
1.8.0 (2016-02-02)
99
100
------------------
100
- - History tracking can be inherited by passing `inherit=True `. (gh-63)
101
+ - History tracking can be inherited by passing `` inherit=True ` `. (gh-63)
101
102
102
103
1.7.0 (2015-12-02)
103
104
------------------
104
105
- Add ability to list history in admin when the object instance is deleted. (gh-72)
105
- - Add ability to change history through the admin. (Enabled with the `SIMPLE_HISTORY_EDIT ` setting.)
106
+ - Add ability to change history through the admin. (Enabled with the `` SIMPLE_HISTORY_EDIT ` ` setting.)
106
107
- Add Django 1.9 support.
107
108
- Support for custom tables names. (gh-196)
108
109
109
110
1.6.3 (2015-07-30)
110
111
------------------
111
- - Respect `to_field ` and `db_column ` parameters (gh-182)
112
+ - Respect `` to_field `` and `` db_column ` ` parameters (gh-182)
112
113
113
114
1.6.2 (2015-07-04)
114
115
------------------
@@ -125,7 +126,7 @@ Unreleased
125
126
------------------
126
127
- Add support for Django 1.8+
127
128
- Deprecated use of ``CustomForeignKeyField `` (to be removed)
128
- - Remove default reverse accessor to `auth.User ` for historical models (gh-121)
129
+ - Remove default reverse accessor to `` auth.User ` ` for historical models (gh-121)
129
130
130
131
1.5.4 (2015-01-03)
131
132
------------------
0 commit comments