>From memory, At least in Jinja templates, you can explicitly use the
dictionary form {{ key["hypen-ated"] }}... Have you tried that?
On Thu, 23 Jun 2022, 14:44 Ryan Nowakowski, wrote:
>
> https://stackoverflow.com/questions/8252387/how-do-i-access-dictionary-keys-that-contain-hyphens-from-withi
You can have a template filter that can parse your dictionary.
On Thu, Jun 23, 2022, 19:14 Ryan Nowakowski wrote:
>
> https://stackoverflow.com/questions/8252387/how-do-i-access-dictionary-keys-that-contain-hyphens-from-within-a-django-templa
>
> On Mon, Jun 20, 2022 at 07:52:46AM -0700, Koushik
https://stackoverflow.com/questions/8252387/how-do-i-access-dictionary-keys-that-contain-hyphens-from-within-a-django-templa
On Mon, Jun 20, 2022 at 07:52:46AM -0700, Koushik Romel wrote:
> When trying to get a value from restapi in for loop to display it takes
> hyphen(-) as minus(-). And there
When trying to get a value from restapi in for loop to display it takes
hyphen(-) as minus(-). And there is no way to change the api structure
because it is fixed.
Im struck in this anyone help me..
The exact error and the expected json is given below is down below
when i try to print {{key}} th
4 matches
Mail list logo