benjaoming, to django
@benjaoming@social.data.coop avatar

Interesting lesson? Last August, a contributor wanted to fix something in -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!

elkarrde, to django
@elkarrde@ohai.social avatar

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! 😅)

kushal, to django
@kushal@toots.dgplug.org avatar

To my friends, do you know how to show maps on a django application and then allow user to store information related to location, and show on the map?

adamchainz, to django
@adamchainz@fosstodon.org avatar

✍️ New post on my new package django-harlequin.

🦆 This package provides a small launcher command for Harlequin, the Terminal-based SQL IDE by Ted Conbeer.

💽 Try it out and let me know what you think!

https://adamj.eu/tech/2024/05/07/django-harlequin/

blaise, to til
@blaise@fosstodon.org avatar

that the project has a process for training contributors
https://github.com/djangonaut-space/program/blob/main/README.md

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 and want to develop experience contributing to , then you may want to mark your calendar for next year.

nanorepublica, to django
@nanorepublica@indiehackers.social avatar

📣 A cautionary tail of adding soft delete to Models
📄 Most of the time you aren't going to need it, but be careful if you do.
🔗 https://softwarecrafts.co.uk/100-words/day-84
,,,-utils,

natera, to random
@natera@fosstodon.org avatar

It's incredible the ammount of code needed for simple stuff using React. Glad that I get to work with

natera,
@natera@fosstodon.org avatar

@doublebyte Give it a look, for me the combo of and is a great one, extend HTML and gets rid of the complex JavaScript React combo

mblayman, to django
@mblayman@mastodon.social avatar

🐍 What happens when you take a non-web developer and drop them in front of the tutorial at a live presentation? That's exactly what we found out at Frederick. https://www.youtube.com/watch?v=ZSs2eZ-yFps

djangoconeurope, to python
@djangoconeurope@fosstodon.org avatar

🎙️ WORKSHOP: Accessibility for the Django Community by Saptak S

https://2024.djangocon.eu/talks/schedule/

🎟️ Grab your ticket: https://pretix.evolutio.pt/evolutio/djceu2024/

circumeo, to django
@circumeo@mastodon.social avatar

Had fun writing a quick tutorial on using the library Neapolitan. TLDR: knock out those CRUD views at lightning speed with Neapolitan.

https://circumeo.io/blog/entry/faster-prototyping-in-django-with-neapolitan/

willmurphy, to homelab

How are folks doing or for their ? I have a small but useful app running on my LAN, and I’m tired of remembering the IP address of the raspberry pi that’s running it.

mblayman, to python
@mblayman@mastodon.social avatar

🐍 On this Building SaaS with and , 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

vossisboss, to django
@vossisboss@fosstodon.org avatar

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

So excited!

mblayman, to django
@mblayman@mastodon.social avatar

🐍 is an awesome way to style your web pages. In this short article, I show how to set up Tailwind for a project that is deployed to . https://www.mattlayman.com/blog/2020/tailwind-django-heroku/

bmispelon, to django
@bmispelon@mastodon.social avatar
CodenameTim, to django
@CodenameTim@fosstodon.org avatar

Coming back at update_or_create for round 2!

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.

markwalker, to django
@markwalker@fosstodon.org avatar

Django 5 by Example is available now.

This is the book I've been reviewing.

https://djangobyexample.com/

djangocms, to django
@djangocms@fosstodon.org avatar

We released @djangocms 4.1.1 today.

It's got better right-to-left support and faster menu rendering along with a few bug fixes.

https://docs.django-cms.org/en/latest/upgrade/4.1.1.html

derwaro, to django
@derwaro@fosstodon.org avatar

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.

AndriiKuznietsov75, to webdev Ukrainian
@AndriiKuznietsov75@social.kyiv.dcomm.net.ua avatar
webology, to django
@webology@mastodon.social avatar

For any + 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 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.

CodenameTim, to django
@CodenameTim@fosstodon.org avatar

Google Summer of Code projects have been announced and had four projects accepted!

https://summerofcode.withgoogle.com/programs/2024/organizations/django-software-foundation-8o

wagtail, to django
@wagtail@fosstodon.org avatar

Put those wings in the air because Wagtail 6.1 has been released! 🐦 :partyparrot: 🎉

We also have a few security releases going out today for our 5.2 LTS release and 6.0.

Have a look at our favorite new features and fixes in our release blog.

https://wagtail.org/blog/wagtail-61/

mblayman, to python
@mblayman@mastodon.social avatar

🐍 On this Building SaaS with and , 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

ghickman, to django
@ghickman@mastodon.social avatar

What are folks using for linting and/or formatting templates these days?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ethstaker
  • rosin
  • mdbf
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • GTA5RPClips
  • InstantRegret
  • everett
  • Youngstown
  • modclub
  • slotface
  • kavyap
  • normalnudes
  • ngwrru68w68
  • thenastyranch
  • osvaldo12
  • tacticalgear
  • cubers
  • tester
  • anitta
  • Leos
  • Durango
  • cisconetworking
  • provamag3
  • megavids
  • lostlight
  • All magazines