Re: How to generate a table in pdf?

2022-06-26 Thread Derek
https://xhtml2pdf.readthedocs.io/en/latest/usage.html is what you need. On Friday, 24 June 2022 at 16:08:10 UTC+2 kvnk...@gmail.com wrote: > > > > > *Hi family, I created a salary calculation application.As I already > display the list of employees, I now have to download it using a function >

Re: ?? question ,its urgent

2022-06-26 Thread Wazed Khan
Thanks On Mon, Jun 27, 2022, 4:44 AM Ryan Nowakowski wrote: > An alternative to storing all values in a single model field is to use EAV: > > > https://en.m.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model > > On June 20, 2022 1:46:42 AM CDT, Abhinandan K > wrote: >> >> how to st

Re: Need some help

2022-06-26 Thread Rohit Lohar
Can I make a form with the help of htmx such that the whole form has a small container is dynamic and else whole part is static? On Mon, Jun 27, 2022, 4:07 AM Ryan Nowakowski wrote: > If you want the initial input field value to change dynamically when the > select field option changes, there's

Re: ?? question ,its urgent

2022-06-26 Thread Ryan Nowakowski
An alternative to storing all values in a single model field is to use EAV: https://en.m.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model On June 20, 2022 1:46:42 AM CDT, Abhinandan K wrote: >how to store the data in django databse table if user append fields >according to their

Re: Need some help

2022-06-26 Thread Sebastian Jung
You can make it easy with javascript on event change on select field then get selected option and write value to input field. You can google for a solution how yoz can get value from a select field on change event Ryan Nowakowski schrieb am Mo., 27. Juni 2022, 00:37: > If you want the initial in

Re: Need some help

2022-06-26 Thread Ryan Nowakowski
If you want the initial input field value to change dynamically when the select field option changes, there's a bunch of different ways to do this. My current favorite is htmx https://htmx.org/ - Ryan On June 26, 2022 5:10:19 AM CDT, Rohit Lohar wrote: >Hi there, >I am currently making a f

Re: Removing "Invalid HTTP_HOST header" msgs with nginx.conf default server NOT working

2022-06-26 Thread Mr.Teapot
Please take a look on the ALLOWED_HOSTS documentation https://docs.djangoproject.com/en/4.0/ref/settings/#allowed-hosts. *A list of strings representing the host/domain names that this Django site can serve. This is a security measure to prevent HTTP Host header attacks

Need some help

2022-06-26 Thread Rohit Lohar
Hi there, I am currently making a form where the user will have a option to select from the drop down and an input field next to it. So basically the drop down will have the list of products and the input field will be having an initial value depending upon the choice selected by user. The prod

hi

2022-06-26 Thread MAHESH KUMAR
You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page. i want actual URL this type https://adsjhgasjdhasda.com/ListFinalData/?page=1&device=2 https://adsjghahsjkda.com/ListFinalData/?page=1&device