Browse Source
Update sapl/materia/views.py
Co-Authored-By: Cesar Augusto de Carvalho <cesaraugc@gmail.com>
pull/3001/head
Edward
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
sapl/materia/views.py
|
|
|
@ -324,7 +324,7 @@ def recuperar_proposicao(request): |
|
|
|
data = request.GET.get('data') |
|
|
|
|
|
|
|
proposicoes = Proposicao.objects.filter( |
|
|
|
data_envio__date=datetime.strptime(data, '%d/%m/%Y').date(), |
|
|
|
data_envio__date=datetime.strptime(data, '%Y-%m-%d').date(), |
|
|
|
data_envio__isnull=False, |
|
|
|
data_recebimento__isnull=True, |
|
|
|
data_devolucao__isnull=True |
|
|
|
|