ifwo.eu ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Raum für Irritationen

Serverstatistik:

13
aktive Profile

#django

48 Beiträge45 Beteiligte5 Beiträge heute

Ever wonder why the #Django `date` filter uses formats from PHP?! I did! 😂

So, I made a `dateformat` filter which uses the normal #Python `strftime` format strings (cheatsheet here: strftime.org). Docs for the new filter: dj-angles.adamghill.com/en/lat

New `dj-call` and `dj-model` mappers were also added. Docs for the tags: dj-angles.adamghill.com/en/lat

Both included in the newly published 0.17.0 of `dj-angles`. ✨

📖 dj-angles.adamghill.com/
📦 pypi.org/project/dj-angles/
🛠️ codeberg.org/adamghill/dj-angl

New episode of #TalkingPostgres #podcast 🎙️ (we're up to Ep25!)

Dawn Wages @BajoranEngineer: #Django dev, Python Software Foundation board chair, & author of upcoming book "Domain-driven Django"—joined the pod to chat about why so many Python developers Just Use Postgres

Give it a listen wherever you get your podcasts. And give it a boost 🚀!

Dawn is a gem & this conversation was FUN. #PostgreSQL #OpenSource #Python #Postgres

🎧 talkingpostgres.com/episodes/w

📺 youtu.be/leir3xJ4Klo?feature=s

DSF member of the month - Cory Zue

For March 2025, we welcome Cory Zue (@coryzue.com) as our DSF member of the month! ⭐

Cory Zue is a Django developer for many years. He is currently a member of the DSF Social Media Working Group and he has been a DSF member since octobre 2022.
You can learn more about Cory by checking out his website or visiting Cory's GitHub Profile.

Let’s spend some time getting to know Cory better!

Can you tell us a little about yourself (hobbies, education, etc)

I'm a programmer-turned-manager-turned-entrepreneur and currently run a portfolio of businesses on my own (using Django of course!).

I grew up in Massachusetts and studied Computer Science at MIT where I met the founders of Dimagi, where I ended up as CTO for 10 years before starting my own businesses. In 2016, I moved to Cape Town, South Africa for a "temporary" relocation, and have been here ever since. These days my main hobbies include surfing, trail running, and exploring nature with my wife and two boys.

How did you start using Django?

My first major Django project was working on an SMS-based system that helped with the distribution of millions of bednets in Nigeria. It was built on top of a Django-based platform called RapidSMS that was initially developed by UNICEF. After that I worked on several other RapidSMS systems before eventually leading Dimagi's CommCare server team. CommCare eventually became -- to my knowledge -- the largest open source Django codebase in terms of contributions/commits.

What other framework do you know and if there is anything you would like to have in Django if you had magical powers?

I still love Django and use it for most projects that need a backend. That said, I find Django's "hands off" approach to modern front end development to be a big barrier for people who aren't already familiar with the framework.

If I had magical powers I would convince the Django community that it is worth providing some out-of-the-box support for modern front end tooling like TailwindCSS or a JavaScript bundler. I'd also try to get official "starter projects" built into the framework that show how you can use Django with some of the more popular front end options like React and HTMX.

What projects are you working on now?

My main project right now is SaaS Pegasus, which is a Django codebase creator that helps you spin up new projects more efficiently by bundling in even more batteries than Django itself. This includes things like configuring auth, front end, and deployment, but also has some more powerful features like multi-tenancy and billing baked in.

One of the great things about running Pegasus is that I can justify building new Django apps as dogfooding the product. So I always have other Django projects I'm working on. Right now the biggest one is a RAG chat-with-your-data LLM project called Scriv.ai.

Within the Django community my main contributions are in the form of writing in-depth guides to using Django, as well as pitching in on the Social Media working group to help grow Django's audience.

Which Django libraries are your favorite (core or 3rd party)?

It's hard to go with anything other than the ORM (and migrations framework), which I still feel is Django's greatest and most important feature. It just fits my brain much better than SQLAlchemy or other options I've used.

One lesser-known library I'll shout out that I have been enjoying lately is django-cotton, which provides a nice little layer of syntactic sugar and tooling that makes working with components in Django templates much nicer.

What are the top three things in Django that you like?

  1. The ORM + migrations.

  2. The community.

  3. That nearly every backend use case I have already has a feature that's been built to accommodate it (e.g. middleware, messages, i18n, etc.). I feel like the modern JavaScript frameworks I've used are way behind on this front.

What would you recommend to someone who wants to start out as an entrepreneur like you?

I have an entire talk/article about this!

But if I were to emphasize the most important part that worked for me, it was creating enough space in my life for deep, uninterrupted work and structuring it in a way that I never ran out of money or energy while I was trying (by working part time while I was getting started). In general, the path to success usually takes a long time, so giving yourself plenty of time is really important. The tactics you can figure out as you go, but the space and time to do it is the most important thing to have in place. Your main goal is not to quit.

Is there anything else you'd like to say?

Thank you for including me in this series!

Thank you for doing the interview, Cory!

https://www.djangoproject.com/weblog/2025/mar/14/dsf-member-of-the-month-cory-zue/

Bluesky SocialCory Zue (@coryzue.com)Went from CTO to solopreneur, and now building an empire one business at a time. Currently growing https://saaspegasus.com

Вайб-кодинг? Да я так уже два года работаю

Недавно я наткнулся на термин "vibe coding" и слегка офигел. Оказывается, то, как я последние два года клепаю свои приложения – с минимумом ручного кода и максимумом автоматизации с нейронками, – теперь имеет модное название. Под катом я хочу поделиться своими инструментами для парного программирования с нейронкой и мыслями о том, куда нас это все ведет. Под кат →

habr.com/ru/articles/890356/

ХабрВайб-кодинг? Да я так уже два года работаюНедавно я наткнулся на термин "vibe coding" и слегка офигел. Оказывается, то, как я последние два года клепаю свои приложения – с минимумом ручного кода и максимумом автоматизации с нейронками, –...
Fortgeführter Thread

I’ve tried mitigating this using the --solo option, which prevents Celery from killing the worker. However, this creates another issue: Celery perceives the worker as lost since it’s not communicating, causing it to reassign the task to another worker—even though the original one is still running. Additionally, Flower does not display the active worker in such cases.

Does anyone have recommendations for a solid Celery alternative that addresses these issues?

#foss #open-source #python #django

Accessibility and inclusivity at FOSDEM 2025

<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:image:alt" content="Panorama of the room during a talk, taken from the back. It’s a classroom with multiple rows of tables and seats. Some people are standing on the side. The speaker is in front of their slides at the front of the room." /> <meta name="twitter:image" content="https://thib.me/images/blog/accessibility-and-inclusivity-at-fosdem-2025/inclusive-web-devroom-panorama.jpg" /> <meta property="og:image" content="https://thib.me/images/blog/accessibility-and-inclusivity-at-fosdem-2025/inclusive-web-devroom-panorama.jpg" /> <meta property="og:image:width" content="1536" /> <meta property="og:image:height" content="768" />

For this year’s FOSDEM conference, our Django accessibility team organized the "Inclusive Web" track. Here’s a recap of how it went!

The idea for the Inclusive Web devroom started at FOSDEM 2024, where we discussed the importance of showcasing accessibility and inclusivity work in open source, in web development and beyond. The Django accessibility team got to work on a FOSDEM 2025 proposal. Lo and behold, it got accepted, and here we are with a room full of people interested in those topics, and a great lineup of speakers!

The room was full for most of the day with about 70 attendees, with the conference also providing a livestream for remote participants. We had a great mix of talks, covering a lot of the aspects of the Inclusive Web that we wanted to showcase.

The talks

Top Accessibility Errors Found in Open Source Through Automated Testing

In the first talk of the day, Raashi Saxena shares insights on the most common accessibility errors in open-source projects, based on manual and automated testing. She highlights real-world case studies to help developers improve accessibility in their projects – and warn against the legal risks of poor accessibility!

<figure style="flex: 0 0 256px;"> <figcaption>Raashi getting the devroom started</figcaption> </figure>

Solving the world’s (localization) problems

Eemeli Aro and Ujjwal Sharma introduce MessageFormat 2, a new standard to address long-standing localization challenges. They discuss its potential applications and the tools being built around it. This standard is very promising for Django developers working on multilingual applications to provide better translations for users, and better capabilities for translators.

<figure style="flex: 0 0 256px;"> <figcaption>Eemeli and Ujjwal introduce themselves</figcaption> </figure>

Alternative Text for Images: How Bad Are Our Alt-Text Anyway?

Mike Gifford explores the importance of alt text in web accessibility and how often it misses the mark. He demonstrates his alt text scan Python script for auditing alt-text across websites. Alt text is a common issue on Django projects, and the AI generation showcased by Mike has the potential to move the needle.

<figure style="flex: 0 0 256px;"> <figcaption>Mike shares his experiments</figcaption> </figure>

Secure and Inclusive: WebAuthn for (Multi-Factor) Authentication

Storm Heg explains how WebAuthn (Passkeys) offers a secure and user-friendly alternative to traditional authentication methods. This talk covers how it works, its accessibility benefits, and how Django developers can integrate it into their projects. Storm showcases his django-otp-webauthn package and other alternatives.

<figure style="flex: 0 0 256px;"> <figcaption>Storm’s whoami output</figcaption> </figure>

How do we work out the environmental savings from accessibility?

Chris Adams discusses how supporting older devices through accessible digital services can reduce e-waste. He explores research on hardware obsolescence, data-driven methods for measuring environmental impact, and policy changes in digital sustainability. This builds upon previous work by Chris showcasing the parallels between web accessibility and sustainability.

<figure style="flex: 0 0 256px;"> <figcaption>Chris with his cover slide</figcaption> </figure>

Growing inclusive communities: Djangonaut Space program

Raffaella Suardini shares the success of the Djangonaut Space mentorship program in fostering sustainable contributions and welcoming new contributors. She provides strategies for building inclusive tech communities, which are crucial to the success of open-source projects like Django 💜.

<figure style="flex: 0 0 256px;"> <figcaption>Raffaella taking questions</figcaption> </figure>

Multilingual Speech Technologies That Understand You

Jessica Rose discusses how Common Voice’s crowdsourced speech dataset helps developers build speech technologies for underrepresented languages. She highlights the challenges of linguistic diversity in tech – which are very relevant for a project with such an international and multiligual user base as Django.

<figure style="flex: 0 0 256px;"> <figcaption>Jessica showcases project challenges</figcaption> </figure>

ATAG accessibility audits: worth your while

Thibaud Colas introduces the Authoring Tool Accessibility Guidelines (ATAG) and explains why they are essential for content creation tools, like the Django admin. He shares highlights of where projects can learn a lot from ATAG, making this talk valuable for Django developers working with content publishing.

<figure style="flex: 0 0 256px;"> <figcaption>Thibaud lists accessibility standards</figcaption> </figure>

All recordings

You can watch them all on the FOSDEM website:

<figure> <figcaption>Raashi Saxena - Top Accessibility Errors Found in Open Source Through Automated Testing | FOSDEM 2025</figcaption> </figure> <figure> <figcaption>Eemeli Aro and Ujjwal Sharm - Solving the world’s (localization) problems | FOSDEM 2025</figcaption> </figure> <figure> <figcaption>Mike Gifford - Alternative Text for Images: How Bad Are Our Alt-Text Anyway? | FOSDEM 2025</figcaption> </figure> <figure> <figcaption>Storm Heg - Secure and Inclusive: WebAuthn for (Multi-Factor) Authentication | FOSDEM 2025</figcaption> </figure> <figure> <figcaption>Chris Adams - How do we work out the environmental savings from accessibility? | FOSDEM 2025</figcaption> </figure> <figure> <figcaption>Raffaella Suardini - Growing inclusive communities: Djangonaut Space program | FOSDEM 2025</figcaption> </figure> <figure> <figcaption>Jessica Rose - Multilingual Speech Technologies That Understand You | FOSDEM 2025</figcaption> </figure> <figure> <figcaption>Thibaud Colas - ATAG accessibility audits: worth your while | FOSDEM 2025</figcaption> </figure>

See you in 2026

We had a blast running this devroom, and we’re looking forward to doing it again in 2026 if we get the chance! Thank you to our speakers, devroom organizers (Saptak, Tom, Sarah, Thibaud, Eli), and helpers (Alex and Storm) for making this event a success! 🎉

<figure> <figcaption>Our 2025 devroom speakers, organizers, and helpers. Top left to right: Raffaella, Sarah, Thibaud, Alex, Saptak, Storm</figcaption> </figure>

https://www.djangoproject.com/weblog/2025/mar/13/accessibility-and-inclusivity-at-fosdem-2025/

achja, wir suchen Leute, gern chaos-nah. Du solltest ungefähr in Reichweite zu Bochum wohnen, sodass du zumindest zum wöchentlichen Teamtag ins Büro kommst. Sonst lässt sich sicher über alles reden 🙂 Ich leite gerne weiter.
#softwareentwicklung #django #python

Softwareentwickler IoT, Embedded Systems (C / C++) (m/w/d):
de.indeed.com/cmp/Medic-Assist

Erfahrener Entwickler Python/Django (m/w/d):
de.indeed.com/cmp/Medic-Assist

TIL about the bulk import functionality in django-import-export library.

django-import-export.readthedo

Some caveats:
- set `batch_size` for better performance
- doesn't work with many-to-many relationships
- no `pre_save` and `post_save` signals sent (it' doesn't call `model.save()`)

django-import-export.readthedocs.ioBulk imports — django-import-export 4.3.8.dev2 documentation
#TIL#Learning#Django