Skip to content

Commit

Permalink
Fixed tests for djangomaster
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanocerza committed Feb 12, 2017
1 parent 4c7d6a5 commit 6709b38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion djmoney_rates/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __str__(self):

@python_2_unicode_compatible
class Rate(models.Model):
source = models.ForeignKey(RateSource)
source = models.ForeignKey(RateSource, on_delete=models.CASCADE)
currency = models.CharField(max_length=3)
value = models.DecimalField(max_digits=20, decimal_places=6)

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ testpaths=tests
[tox]
envlist =
flake8,
py27-django{18,19,110,master},
py27-django{18,19,110},
py33-django18,
py34-django{18,19,110,master},
py35-django{18,19,110,master}
Expand Down

0 comments on commit 6709b38

Please sign in to comment.