Python Code - How To Read CSV with Headers into an Array of Dictionary
Introduction Lets assume we have a csv something similar to following: Python…
April 11, 2020
You have a view with 4-5 fields to display. Suppose, there are two fields: payment amount and currency. Where currency can be INR and USD. I want to show fields in a table, don’t want to show these two fields as separate.
I want to show these two fields as one. Example:
ID Name Amount
1 ABC 10 USD
2 XYZ 700 INR
I hope you get the above example, otherwise if the two fields will be separate. I will have 4 fields in above table.
Lets see how we can configure our view.
{% raw %}
{{ amount }} {{ currency }}
{% endraw %}
Introduction Lets assume we have a csv something similar to following: Python…
Introduction In this post, we will see how we can apply a patch to Python and…
Its essential to prepare a git branching strategy. This helps greatly in…
I use drupal-7 in my website. I used to write articles and put images in that…
Introduction In our previous post, where we saw How to configure comments module…
Each jar file has a manifest file in META_INF/MANIFEST.MF I have to read each…
Introduction This post has the complete code to send email through smtp server…
Introduction In a normal email sending code from python, I’m getting following…
Introduction In one of my app, I was using to talk to . I have used some event…
Introduction So you have a Django project, and want to run it using docker image…
Introduction It is very important to introduce few process so that your code and…
Introduction In this post, we will see a sample Jenkin Pipeline Groovy script…