# django
Django==1.11.22
-fnpdjango==0.3
+fnpdjango==0.4
django-pipeline==1.6.13
jsmin
-fnp-django-pagination==2.2.2
+fnp-django-pagination==2.2.3
django-maintenancemode==0.11.3
jsonfield==2.0.2
django-picklefield==1.1.0
offer_sum = self.sum()
return {
'offer': self,
- 'sum': offset_sum,
+ 'sum': offer_sum,
'is_current': self.is_current(),
'is_win': offer_sum >= self.target,
'missing': self.target - offer_sum,
},
}]
-MIDDLEWARE_CLASSES = [
+MIDDLEWARE = [
'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.cache.UpdateCacheMiddleware',