Commit cb5a6e85 authored by Odair M.'s avatar Odair M.
Browse files

Merge branch '63-leitura-csv-nao-funciona' into 'development'

Resolve "leitura csv não funciona"

Closes #63

See merge request !82
parents b6711131 b82e4274
Pipeline #21231 passed with stage
in 2 minutes and 19 seconds
......@@ -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