Interesting lesson? Last August, a contributor wanted to fix something in #django-money's contrib.django_rest_framework. The PR had no tests, a few people mentioned that they'd like to have it merged.
So 9 months later, a maintainer (eh me), gives up and helps to write a few tests and get this thing merged. But no one with acclaimed DRF skillz had reviewed it.
Afterwards, it broke DRF integration in two ways: Two great new contributors came by, fixed it w/ tests!
I love Django, it's admin interface is downright amazing, and a feature that keeps me using Django, but ohboy, adding actions to a change view should be significantly easier!
(or I'm just missing some fancy decorator that does the trick! 😅) #django#python
To my #django friends, do you know how to show #OpenStreetMap#OSM maps on a django application and then allow user to store information related to location, and show on the map?
Not only is it well structured, it also has support from more experienced djangonauts. Sadly, it has concluded for this year. If you're interested in #python and want to develop experience contributing to #OpenSource , then you may want to mark your calendar for next year.
How are folks doing #dns or #servicediscovery for their #homelab? I have a small but useful #django app running on my LAN, and I’m tired of remembering the IP address of the raspberry pi that’s running it.
🐍 On this Building SaaS with #Python and #Django, I started a new feature to add a PDF report bundle to my homeschool app. This will be useful when a user completes their school year and needs records of all the year's activities. https://www.youtube.com/watch?v=cM2sA1AP3fM
The preliminary schedule for Wagtail Space is live! I know I’m biased because I’m organizing the conference but this is an incredible line up. And we’re still adding more! Head over to our website to take a look: https://us.wagtail.space
If you call update_or_create where the instance already exists and the defaults passed in are already the values on the instance, do you ever want it to actually re-save the instance?
I'm running into the case where I'd prefer it to not update the instance if it doesn't need to. I'm guessing I'm overlooking some race condition problem though.
When having a #Django App deployed to #fly.io @flydotio what's the best way to read the actual Django logs? Store them in volumes? Or stream them to some S3? I get a 500 response in the browser sometimes and want to see the actual stacktrace.
For any #Django + #Docker#Compose users out there, I was struggling for several days because template and code changes were only being picked up once per session and then cached to infinity.
I switched from #Orbstack back to vanilla Docker and that problem went away.
So I think they might have a bug or something else that's non-obvious. I checked and didn't see an issue logged yet.
I like Orbstack a lot, but what a frustrating bug to fight.
🐍 On this Building SaaS with #Python and #Django, I worked through UI and form changes to allow educators to set break days for individual students in their homeschool. We had to create records on a many to many relationship. https://www.youtube.com/watch?v=GQs4RpKC4-w