Fixed key error during 'ESTER' import
This commit is contained in:
parent
9aa3e9a768
commit
c8ff274513
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ class StudentImportView(ImportViewBase):
|
|||
defaults['klass'])
|
||||
)
|
||||
|
||||
del defaults['teacher']
|
||||
defaults.pop('teacher', None)
|
||||
Student.objects.create(**defaults)
|
||||
obj_created += 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue