Updated passlib requirement

This commit is contained in:
Marc Aymerich 2016-01-18 09:52:03 +00:00
parent f43b048f72
commit 5ea1bd777e
2 changed files with 3 additions and 2 deletions

View File

@ -71,7 +71,8 @@ class RateQuerySet(models.QuerySet):
class Rate(models.Model):
service = models.ForeignKey('services.Service', verbose_name=_("service"),
related_name='rates')
plan = models.ForeignKey(Plan, verbose_name=_("plan"), related_name='rates')
plan = models.ForeignKey(Plan, verbose_name=_("plan"), related_name='rates', null=True,
blank=True)
quantity = models.PositiveIntegerField(_("quantity"), null=True, blank=True,
help_text=_("See rate algorihm help text."))
price = models.DecimalField(_("price"), max_digits=12, decimal_places=2)

View File

@ -13,7 +13,7 @@ Pygments==1.6
django-filter==0.7
jsonfield==0.9.22
python-dateutil==2.2
passlib==1.6.2
passlib==1.6.5
django-iban==0.3.0
requests
phonenumbers