RES: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread samuel nogueira bacelar
Adding Bootstrap's class="text-lowercase" was the way to go. Thank you!! Enviado do Email para Windows 10 De: Jason TurnerEnviado:terça-feira, 18 de maio de 2021 10:28Para: django-users@googlegroups.comAssunto: Re: how to prevent Django do auto capitalize static text in template

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Jason Turner
Have you tried Bootstrap's class="text-lowercase"? On Tue, May 18, 2021, 8:23 AM Samuel Nogueira wrote: > I am using bootstrap, so my CSS shouldn't go wrong > > > Em ter., 18 de mai. de 2021 às 10:04, 712189512 < > gabrielstonede...@gmail.com> escreveu: > >> It’s not django that’s doing

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Liu Zheng
Checking CSS is the right way to go. To verify, simply comment out all css styles (internal or external ones) and strip off the classes from these few lines. You shouldn’t have capitalisation problem any more On Tue, 18 May 2021 at 9:23 PM, Samuel Nogueira wrote: > I am using bootstrap, so my

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Samuel Nogueira
I am using bootstrap, so my CSS shouldn't go wrong Em ter., 18 de mai. de 2021 às 10:04, 712189512 escreveu: > It’s not django that’s doing that,have you checked your css? > > On Tue, 18 May 2021 at 12:56 David Tobrise wrote: > >> What happens if you try outputting the units from dynamically

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread 712189512
Put that in a span and use css text-transform and set it to lowercase On Tue, 18 May 2021 at 13:18 Samuel Nogueira wrote: > Unfortunately didnt worked > > > Em ter., 18 de mai. de 2021 às 10:03, RANGA BHARATH JINKA < > bharathjink...@gmail.com> escreveu: > >> Hi, >> >> Try this jinja templating

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Samuel Nogueira
I didnt tried this yet, maybe should. Em ter., 18 de mai. de 2021 às 09:55, David Tobrise escreveu: > What happens if you try outputting the units from dynamically instead of > hard-coding it? > > *Best Regards,* > *David O. T.* > > > > > On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread Samuel Nogueira
Unfortunately didnt worked Em ter., 18 de mai. de 2021 às 10:03, RANGA BHARATH JINKA < bharathjink...@gmail.com> escreveu: > Hi, > > Try this jinja templating lower filter > > {{ 'helLo WOrlD'|lower }} > > > On Tue, May 18, 2021 at 6:26 PM David Tobrise > wrote: > >> What happens if you try

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread 712189512
It’s not django that’s doing that,have you checked your css? On Tue, 18 May 2021 at 12:56 David Tobrise wrote: > What happens if you try outputting the units from dynamically instead of > hard-coding it? > > *Best Regards,* > *David O. T.* > > > > > On Tue, May 18, 2021 at 1:07 PM samuel

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread RANGA BHARATH JINKA
Hi, Try this jinja templating lower filter {{ 'helLo WOrlD'|lower }} On Tue, May 18, 2021 at 6:26 PM David Tobrise wrote: > What happens if you try outputting the units from dynamically instead of > hard-coding it? > > *Best Regards,* > *David O. T.* > > > > > On Tue, May 18, 2021 at 1:07 PM

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread David Tobrise
What happens if you try outputting the units from dynamically instead of hard-coding it? *Best Regards,* *David O. T.* On Tue, May 18, 2021 at 1:07 PM samuel nogueira bacelar < hu3mule...@gmail.com> wrote: > Hi guys! > > I have something that appears to be a simple problem but I didn’t find

how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread samuel nogueira bacelar
Hi guys!I have something that appears to be a simple problem but I didn’t find anything useful anywhere. My problem is that my text in a template next to a Django tag keeps auto capitalizing but I don’t want this to happen. In the image above you can see that m³/ano and m² is not capitalized at