Commit b82e4274 authored by Wellington Gabriel Vicente de Souza's avatar Wellington Gabriel Vicente de Souza Committed by Odair M.
Browse files

Resolve "leitura csv não funciona"

parent b6711131
......@@ -36,8 +36,16 @@ class SubmissionCreate(SuccessMessageMixin, CreateView):
def form_valid(self, form):
# muda nomes dos arquivos = "historico.xls" = "matricula.xls"
if ".csv" in = "historico.csv"
else: = "historico.xls"
if ".csv" in = "matricula.csv"
else: = "matricula.xls"
# adiciona a form.instance.usuario e curso = self.request.user.educator
degree = Degree.objects.get(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment