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.

Context:

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.

Sound can be thought of as a wave a “sound wave”, but what does that really mean?

Figure 1: A simple wave [http://theory.uwinnipeg.ca/mod_tech/node120.html]

The properties of waves are:

  • Amplitude: the height of the wave
  • Wavelength: the distance between adjacent wave crests (peaks)
  • Frequency: the number of complete waves that pass a point in a second

How can something so simple as a wave produce so many different sounds?

It turns out there are more complex properties of sound, which are given when you look at the pattern within a wave. …


Goal setting can help you reach that mountain top.

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. …

Thu Trang Pham

Curious individual, driven life-long learner, data and software engineer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store