Re: Data not uploading in Django

2022-07-04 Thread K Wong
FormView does not save your data in form_valid it just does the success redirect. You need to either save it yourself or use CreateView rather than FormView. -k On Saturday, June 25, 2022 at 9:03:24 AM UTC-7 sonasiv...@gmail.com wrote: > Hello! > I've tried uploading the data I'm entering in t

Re: Timeout error in send_mail function

2022-07-04 Thread K Wong
If you know that Django is trying to send the email then the problem lies in the local operating system and the network. If you are developing on windows then the windows firewall might be blocking you. If you are at home then your router might be blocking you. If you are trying to send outside

Re: Need help

2022-07-04 Thread K Wong
I've implemented this sort of thing in the past. Without knowing your specific case, I guess that you have a parent model (ie. Pizza) and 1-n related child models (ie. Topping). My advice is to redesign your flow to create a Pizza first then attach 1-n Topping entities to it. This would require