|
@ -110,6 +110,8 @@ class InternView(LoginRequiredMixin, CookieWizardView): |
|
|
data = {} |
|
|
data = {} |
|
|
for form in form_list: |
|
|
for form in form_list: |
|
|
data = {**data, **form.cleaned_data} |
|
|
data = {**data, **form.cleaned_data} |
|
|
|
|
|
if data['selfbuy'] == 'TRUE': |
|
|
|
|
|
data['selfbuy_give_data'] = 'False' |
|
|
print(data) |
|
|
print(data) |
|
|
|
|
|
|
|
|
# write data to database |
|
|
# write data to database |
|
|