how to assign a value to a model object field

2008-10-15 Thread Lenny
Hi! How can I assign a value to a model object field where the field name in a string? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegro

Cpanel Upload

2024-10-25 Thread Lenny
Hey, any of you ever hosted a website on cpanel? If so what process did you use? I tried uploading the django website code, creating the python app and installing dependencies but the site seems not to run unless Debug is True. I get a server error 500 when Debug is False. I followed this tutorial

Re: Cpanel Upload

2024-10-27 Thread Lenny
Thanks alot for your help devs On Sun, 27 Oct 2024 at 21:39, maina patrick wrote: > To successfully host a Django website on cPanel and troubleshoot the 500 >> error occurring when DEBUG is set to False, here’s a comprehensive guide: >> Step 1: Prepare Django Project for Deployment >> >>1. >

Re: Cpanel Upload

2024-10-25 Thread Lenny
jango project path. > > Let me know if any of these solve it! > > If not please check with debug= true. Possible some error in the code. > > On Fri, 25 Oct 2024, 21:34 Lenny, wrote: > >> Hey, any of you ever hosted a website on cpanel? If so what process did >> you use?

Re: Cpanel Upload

2024-10-25 Thread Lenny
WSGI file has the correct Django project path. > > Let me know if any of these solve it! > > If not please check with debug= true. Possible some error in the code. > > On Fri, 25 Oct 2024, 21:34 Lenny, wrote: > >> Hey, any of you ever hosted a website on cpanel? If so what