Created
July 31, 2018 20:03
-
-
Save lopinho/2bff570db02bb9d76ef3b2bf976a5e71 to your computer and use it in GitHub Desktop.
Gerando cache do dicionario da nota da brbid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from novo_financeiro.tasks import * | |
nota = Nota.objects.filter(cache_dicionario__isnull=True).order_by('-id').first() | |
manager = NotaArrematacao(nota) | |
dicionario = manager.context() | |
nota.salva_dicionario_no_cache(dicionario) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment