Exemplo n.º 1
0
 def handle(self, *args, **kwargs):
     from invoicing.models import Currency
     try:
         Currency.refresh_currencies()
         print "Done."
     except Exception as e:
         raise CommandError(e)
Exemplo n.º 2
0
 def handle(self, *args, **kwargs):
     from invoicing.models import Currency
     try:
         Currency.refresh_currencies()
         print "Done."
     except Exception as e:
         raise CommandError(e)
Exemplo n.º 3
0
def fetch_currencies():
    from invoicing.models import Currency
    Currency.refresh_currencies()