Re: Why does sqlmigrate need a connection to an existing database?

2021-12-11 Thread Jason
https://github.com/django/django/blob/main/django/db/migrations/loader.py#L20-L40 the comment in the migration loader class probably explains your question. also, look at `collect_sql` at the bottom, and how its used at the end of sqlmigrate. specifically, it uses schema editor (

Re: render two template at one time in django

2021-12-11 Thread Harouna Diallo
Hello Kumar, you mean conditional rendering? On Sat, Dec 11, 2021 at 3:25 PM VIVEK KUMAR wrote: > Respected All, > > I want to ask you at one time we render two template in one view. > when you say yes then how ?? > And Share please link also. > > Thankyou > Vivek > Mobile No. 981169732 > > --

Re: render two template at one time in django

2021-12-11 Thread Sebastian Jung
Hello, I think you csn use render_to_string. Then you cah use it to 2 different Templates and can concat both strings abd return string with httpresponse. Why do you don't include second template in First template? This is much easier... Regards VIVEK KUMAR schrieb am Sa., 11. Dez. 2021,

render two template at one time in django

2021-12-11 Thread VIVEK KUMAR
Respected All, I want to ask you at one time we render two template in one view. when you say yes then how ?? And Share please link also. Thankyou Vivek Mobile No. 981169732 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from