When you have duplicate keys in a python dict only the second gets saved.
You can also refer to positions in tuples with . notation in templates. So
something like:
Python code:
import numpy as npfrom django.template import Template, Context, loaderfrom
django.conf import settings
dtype={
I have a numpy record array with 2 values per slot in the array.The name
and offset, I want to display both of these values side by side using a
Django template.
Python code
import numpy as npfrom django.template import Template, Context, loaderfrom
django.conf import settings
dtype={
'
2 matches
Mail list logo