Just ran into an issue on my website where my session data got so large, making requests while logged in was hitting the memory limit on my server and crashing my site 😬
Just ran into an issue on my website where my session data got so large, making requests while logged in was hitting the memory limit on my server and crashing my site 😬
I did a little Django proof-of-concept on the fat posts with just Note and Article post types. I wanted to be sure I could have type-specific admin pages before doing the big lift on my site architecture. The key seems to be using proxy models.
Turns out my recent upgrade to Django 5.2 was not, in fact, “without issue.” I had to patch a problem saving images with stored dimensions with django-resized.
I have still been thinking about this “fat posts” architectural change and have audited the fields across all the post types on my website.
I upgraded the site from Django 4.2 to 5.2 and only had to deal with two deprecation warnings along the way.