Re: django render html template isse

2018-11-02 Thread sidh
Issue resolved. just needed to decode my output string : decode('utf-8') On Friday, November 2, 2018 at 1:20:52 AM UTC+1, sidh wrote: > > Hi, > > I am executing script using django form and it provides me below results. > It's good but i would like to render it

django render html template isse

2018-11-01 Thread sidh
Hi, I am executing script using django form and it provides me below results. It's good but i would like to render it to html template. *return HttpResponse(onsubmit, content_type="text/plain")* Output: *URL: https://abc.com* *Timestamp: Wed, Oct 31, 2018 18:44 GMT* *HTTP Response Code: 500* W

django render output to template

2018-11-01 Thread sidh
Hi, I created a form, on submit i am triggering a script When i use : #return HttpResponse(onsubmit, content_type="text/plain") my results are good but i want to render it to template to get good output. *Output:* *URL: https://abc.com/* *Timestamp: Wed, Oct 31, 2018 18:44 GMT* *HTTP Re

Re: DateField(blank=True), null?

2015-06-25 Thread Sidh Tanna
Its not work dear, ou have any other solution? On Monday, August 14, 2006 at 12:09:53 PM UTC+5:30, Bryan Chow wrote: > > Hi Ray, > > You can set null=True on your DateField to allow null values in the > database. Foe example: > > thedate = models.DateField(null=True, blank=True) > > Cheers, >