January 2021

Django
2021-01-26 08:21 (5 years ago)

### How to Add Custom HTML to Django Admin Inlines If you want to add custom HTML to Django Admin inlines, simply defining custom properties in the Admin or model class and trying to handle them with `fields` or `fieldsets` in the Inline class won't work smoothly. It's better to straightforwardly extend the inline templates.

Django
2021-01-20 11:10 (5 years ago)

If you want to create a different URL for Django's Admin while keeping /admin/ intact: Create an instance using `from django.contrib.admin import AdminSite` and `site = AdminSite(name='staff')`.

2021-01-19 00:27 (5 years ago)

If the conversion speed of Google Japanese Input is slow on Mac Big Sur, check if the "GoogleJapaneseInput" option is checked under Security & Privacy → Privacy tab → Full Disk Access. If it is not checked, enable it. A Mac restart might be necessary.

kubernetes
2021-01-15 14:38 (5 years ago)

Pod exits with the error: "The node was low on resource: ephemeral-storage." Storage usage of the node is at 85% There is an unusually heavy process running in Kubernetes, causing the load average to be abnormally high (like 100) In this case, it is a storage shortage.

2021-01-10 07:50 (5 years ago)

When you log in to Ubuntu via SSH, you see the following message: "10 packages can be updated. 5 updates are security updates."

MySQL
2021-01-01 12:28 (5 years ago)

When trying to connect MySQL Client 8.0 to MySQL 5.6, DataGrip displays an error message: "[08S01] Communications link failure java.io.EOFException: SSL peer shut down incorrectly," and the connection fails.

Categories

Archive