django-planet

Feed: Better Simple

Blog Better Simple
RSS 2.0 Feed Better Simple
web https://www.better-simple.com/
Last Update12.20.2024
Posts45

RegisterFields in Django

Oct. 3, 2023 » Better Simple » [Archived Version]

An explanation of a Django model field that returns an instance of a class depending on a key.

Read More

Descriptive Django Admin Search

Aug. 18, 2023 » Better Simple » [Archived Version]

If you have people using the Django admin without knowing the code you can make their life easier by showing the fields that are actually being searched.

Read More

Professional Djangonaut skills

Aug. 18, 2023 » Better Simple » [Archived Version]

A brief description of various skills, experiences and technologies I feel that a professional Djangonaut has.

Read More

Testing thoughts are up!

July 12, 2023 » Better Simple » [Archived Version]

I've added some thoughts on testing to my Unsung Developer Thoughts. Check it out!

Read More

Unsung Development Thoughts

June 25, 2023 » Better Simple » [Archived Version]

I've added a new section to my site called Unsung Developer Thoughts. Check it out!

Read More

Django migrations and your database

June 3, 2023 » Better Simple » [Archived Version]

This is my attempt to help clear up confusion about Django migrations and your database.

Read More

Send your people to DjangoCon

April 22, 2023 » Better Simple » [Archived Version]

This is a 100% biased take. I’m on the DjangoCon US 2023 organizing team and am a member of DEFNA’s board. I also had a fantastic time at DjangoCon US 2022, so much so that I became an organizer and a member of DEFNA’s board. Simply put, I’m all in on Django. That definitely skews my perspective, but you’re here for an opinion. Send your people to DjangoCon! point over In all seriousness, I had this discussion with an executive on why we should send our other engineer to DjangoCon US this fa…

Read More

Filtering rows every 5 days with the Django ORM

April 6, 2023 » Better Simple » [Archived Version]

When you’re working with timestamped data, eventually you’ll come across the need to fetch records that occur every X days. This post attempts to explain how to do that from within the Django ORM. If you’re here for code, then this part is for you! from django.db.models import F, Cast, IntegerField from django.db.models.functions import ExtractDay, Mod from django.utils import timezone from yourproject.models import MyModel # If you want to fetch data starting with a day other # than today…

Read More

Django Built to Last

March 30, 2023 » Better Simple » [Archived Version]

I recently reread “Built to Last: Successful Habits of Visionary Companies” by Jim Collins and Jerry I. Porras. While I read it in the context of my day job, it was hard not to try to apply it elsewhere in my life. Heck, the authors specifically call this out. What follows is my opinion for the future of the Django community as a whole. I certainly don’t speak for the thousands of people involved. My hope is that this will motivate others to contemplate and share. I’d love to see how ever…

Read More