I really appreciate your help, removing comma has fixed the problem but now for check boxes and bill (which is file type) I’m getting string output instead of bool and file
How can I fix that now? On Sun, 18 Sep 2022 at 1:24 AM, Esteban Chacon Martin <n4b3...@gmail.com> wrote: > Also take off each comma after the assigment and that should fix it all, > forget about indexing as i recommend before > > El sáb, 17 sept 2022 a las 14:38, Esteban Chacon Martin (< > n4b3...@gmail.com>) escribió: > >> Use requests.POST.get('roof_age')[0] instead, seems to me like you are >> getting a list instead of a string when doing the get >> > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/CAA%2BkBvyjeK5wycRV7LeKLQsa9UhX6W0iiJDbzcppnfr516_JYA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-developers/CAA%2BkBvyjeK5wycRV7LeKLQsa9UhX6W0iiJDbzcppnfr516_JYA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CANNtL-Lp0R-5fv_NnaW6xdR3Gsz5mCv2mWECu2%3DZYnFMruQjXw%40mail.gmail.com.