Skip to content

Commit

Permalink
#59 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed Sep 5, 2013
1 parent 415b43f commit ccd213d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simple_history/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ccd213d

Please sign in to comment.