text: #!/usr/bin/python
  # ex:set fileencoding=utf-8:
  
  from __future__ import unicode_literals
  
  from django.utils.translation import ugettext_lazy as _
  
  from djangobmf.dashboards import Accounting
  from djangobmf.sites import Module
  from djangobmf.sites import ViewMixin
  from djangobmf.sites import register
  
  from .categories import TaxCategory
  from .models import Tax
  
  
  @register(dashboard=Accounting)
  class TaxModule(Module):
      model = Tax
      default = True
  
  
  @register(category=TaxCategory)
  class AllTaxes(ViewMixin):
      model = Tax
      name = _("All Taxes")
      slug = "all"
  