Home > other >  How to avoid repeated access django
How to avoid repeated access django

Time:05-14



As a piece of code from the data in the table should be added to a dictionary, and then the parameter code as the key to value rate.
Every call a function, it is repeated to generate a dictionary, efficiency must be not beautiful, I hope it generates action performs a dictionary, and then each access just number from the dictionary,
How can I do? thank you
  • Related