Skip to content

Commit

Permalink
fix duplicate models that sneaked in while rebasing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnozay committed May 21, 2013
1 parent 1a1b051 commit eda094e
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions simple_history/tests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,6 @@ def _history_user(self):
return self.changed_by


class State(models.Model):
library = models.ForeignKey('.Library', null=True)
history = HistoricalRecords()


class Book(models.Model):
isbn = models.CharField(max_length=15, primary_key=True)
history = HistoricalRecords()


class Library(models.Model):
book = models.ForeignKey(Book, null=True)
history = HistoricalRecords()

class State(models.Model):
library = models.ForeignKey('Library', null=True)
history = HistoricalRecords()
Expand All @@ -88,6 +74,7 @@ class Library(models.Model):
book = models.ForeignKey(Book, null=True)
history = HistoricalRecords()


register(User, app='simple_history.tests', manager_name='histories')


Expand Down

0 comments on commit eda094e

Please sign in to comment.