Here are 2 different ways to override the help_text:
On ModelForm init
On ModelAdmin get_form
Use this if you’re not implementing a custom ModelForm
You can also use this to set the help_text based on the field value
Enjoy :)
This article is part of the curiosity series in which I will document and share my learnings guided by random curiosity. The purpose is to share knowledge as well as enhance my understanding through teaching. Read Curiosity #1: Sound.
What is Prestodb?
Prestodb is an open source query engine which provides a ANSI SQL query language. It runs its’ queries in memory. https://prestodb.io/
What is approx_distinct?
It is an aggregate function which approximates count(distinct x). See the documentation here: https://prestodb.io/docs/current/functions/aggregate.html#approx_distinct
approx_distinct is not available in MySQL, which made me very curious to know how is it implemented. …
It’s December 31st 2017, and this past year was amazing…
It started with me hitting rock bottom. Feeling so empty and helpless. Screaming in my apartment that felt so cold and so lonely. Having been brought through the ringer.
My mom had fallen severely ill the summer before 2017 started. As per usual, I held strong. I was the support for others, but did not seek support for myself until I was broken down in the moment, beaten, overwhelmed and completely exhausted.
Don’t cry, I told myself. Be independent, I told myself.
It was in elementary that I had found…
This article is part of the curiosity series in which I will document and share my learnings guided by random curiosity. The purpose is to share knowledge as well as enhance my understanding through teaching.
The properties of waves are:
It turns out there are more complex properties of sound, which are given when you look at the pattern within a wave. …
As this year is coming to a close, many of us are reflecting on what we’ve been able to accomplish this past year. Maybe you set some personal new years resolution last year. Did you stick to them?
How can we make this upcoming new year resolutions more successful?
Goal setting is a skillset, in which there are many techniques. It’s an ability that can be honed over time. Just like any other skill, you will first fail. When learning to ride a bike, you’ll fall. …
Curious individual, driven life-long learner, data and software engineer.