From ccd213dff4eec45fe22b00a3237eedd12fecbd52 Mon Sep 17 00:00:00 2001 From: matklad Date: Thu, 5 Sep 2013 16:11:10 +0400 Subject: [PATCH] #59 fixed --- simple_history/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/simple_history/__init__.py b/simple_history/__init__.py index ed22b6d8d..9c4276962 100755 --- a/simple_history/__init__.py +++ b/simple_history/__init__.py @@ -19,5 +19,6 @@ def register(model, app=None, manager_name='history'): records = models.HistoricalRecords() records.manager_name = manager_name records.module = app and ("%s.models" % app) or model.__module__ + records.add_extra_methods(model) records.finalize(model) models.registered_models[model._meta.db_table] = model