Skip to content

Commit ba364a8

Browse files
committed
<3 ross
1 parent f41242d commit ba364a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ source model. This is possible by combining the ``bases`` functionality with the
392392
# define your signal handler/callback anywhere outside of models.py
393393
def add_history_ip_address(sender, **kwargs):
394394
history_instance = kwargs['history_instance']
395-
# thread.request for use only when the simple_history middleware is enabled
395+
# thread.request for use only when the simple_history middleware is on and enabled
396396
history_instance.ip_address = HistoricalRecords.thread.request.META['REMOTE_ADDR']
397397
398398

0 commit comments

Comments
 (0)