django-ledger 0.8.1__py3-none-any.whl → 0.8.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of django-ledger might be problematic. Click here for more details.

django_ledger/__init__.py CHANGED
@@ -6,7 +6,7 @@ Copyright© EDMA Group Inc licensed under the GPLv3 Agreement.
6
6
  default_app_config = 'django_ledger.apps.DjangoLedgerConfig'
7
7
 
8
8
  """Django Ledger"""
9
- __version__ = '0.8.1'
9
+ __version__ = '0.8.2'
10
10
  __license__ = 'GPLv3 License'
11
11
 
12
12
  __author__ = 'Miguel Sanda'
@@ -281,9 +281,8 @@ class BaseStagedTransactionModelFormSet(BaseModelFormSet):
281
281
  ]
282
282
 
283
283
  self.unit_model_qs = entity_model.entityunitmodel_set.all()
284
- self.UNIT_MODEL_CHOICES = [
285
- (u.uuid, u) if i > 0 else (None, '----')
286
- for i, u in enumerate(self.unit_model_qs)
284
+ self.UNIT_MODEL_CHOICES = [(None, '----')] + [
285
+ (u.uuid, u) for i, u in enumerate(self.unit_model_qs)
287
286
  ]
288
287
 
289
288
  self.VENDOR_MODEL_QS = entity_model.vendormodel_set.visible()
@@ -44,8 +44,6 @@ from django_ledger.io.io_core import (
44
44
  )
45
45
  from django_ledger.models.utils import lazy_loader
46
46
 
47
- logging.basicConfig(format='%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p')
48
-
49
47
 
50
48
  class SlugNameMixIn(models.Model):
51
49
  """