c.im is one of the many independent Mastodon servers you can use to participate in the fediverse.
C.IM is a general, mainly English-speaking Mastodon instance.

Server stats:

2.8K
active users

#django

81 posts69 participants3 posts today
Continued thread

Past decisions made with limited knowledge can come back to bite... hard.

I finally formalized "Model 1" last year. It's a detailed, fully-documented internal standard for modeling infra in #Django for water accounting, scheduling, simulation, and more. It’s not perfect, but it meets my needs and looks beautiful visualized, IMO.

#Simulations

2/6

Woot Woot! Another release!!!

🚀 Just released django-phone-verify 3.1.0!
📱✨ Now supports dynamic SMS messages using runtime context — easily customize verification messages per user or locale.

🎯 What’s new?

Custom backends can override generate_message(security_code, context)

Support for context in send_verification() for richer formatting

📦 PyPI: pypi.org/project/django-phone-
⭐️ Star us on GitHub: github.com/CuriousLearner/djan

pypi.orgClient Challenge

Why do people default to React and JavaScript for front end and UIs?

As a backend developer whose frontend experience is mostly from using Phoenix and Django, which utilize server-side rendering, I’m wondering why most people choose React and JavaScript as the “default” frontend solution, even for pages and SaaS products that don’t really benefit from any additional client-side interactivity.

While listening to the latest @djangochat with @carlton @wsvincent @lilyf there was some talk of handling templates where a variable is not available in the context in #Django.

I wonder if there might be a way to somehow opt-in so that a variable is marked as non-null when it’s _used_?

GraphQL uses an exclamation mark in the schema to show that a value is non-null. Using ! throws a TemplateSyntaxError already, so it would be net-new functionality AFAICT. 🤔

Great podcast btw!