nanorepublica, to django
@nanorepublica@indiehackers.social avatar

📣 Exploring HTMX, messages and template partials
📄 Getting Django messages without a reload
🔗 https://softwarecrafts.co.uk/100-words/day-95
,,,

carlton, to django
@carlton@fosstodon.org avatar

Just on the by. The django-formset package by @jrief needs more attention than it gets.

https://github.com/jrief/django-formset

mblayman, to python
@mblayman@mastodon.social avatar

🐍 On this Building SaaS with and , we went through the upgrade process of going from Tailwind 2 to 3. Along the way, I improved my dev toolchain. https://www.youtube.com/watch?v=Sqg7nSRlEEE

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

Here's a generic response for object creation with django-ninja:

class GenericCreatedSchema(Schema, Generic[EmbeddedType]):  
 success: bool  
 created_object: EmbeddedType  

= use the same generic response template for ALL object creation endpoints.

But even better: I can use different response types in the same API endpoint, using HTTP status codes - depending on which fields are exposed to the user.

All of this translates to OpenAPI spec automatically 💯

mblayman, to django
@mblayman@mastodon.social avatar

📢 How do you make your app do work from the command line? With a Django command! In this Understand Django article, we examine Django commands to see what they are and how to write your own. https://www.mattlayman.com/understand-django/command-apps/

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

Oy! Today, it's the 10 year anniversary for PR#2692 🥳

It's definitely worth celebrating how the good forces were victorious against all the loud mouth conservatives/trolls. Since my office is full today, I might need to get both a primary cake and a replica cake for redundancy 🍰

Congrats and thanks to @fcurella and everyone else involved in this.

https://github.com/django/django/pull/2692

rih4krc, to python
@rih4krc@mastodon.social avatar

Early AM, we begin to work on the Django framwork via Python. I've feared the framework for a while, but today I am going to handle it. Never let the programming lang handle me. lol.

#python #django #noob #developer

_chrismay,
@_chrismay@fosstodon.org avatar

@rih4krc The community is a welcoming space. It may be challenging to get started, but we're all here for you.

You can do this!

anuttam, to django

I heard that whole community left twitter and moved to mastodon. So I am here for my first love :)

carlton, to django
@carlton@fosstodon.org avatar

Just looked at the diary. Django 5.1 Feature Freeze is TODAY 🥳

carlton, to django
@carlton@fosstodon.org avatar

Job list goes:

  1. talk
  2. Templates partials PR for
  3. 5.1 compat for maintained packages
  4. Summer ⛱️

Every else is going to have to wait 😉

SebastianM6L, to jenkins
@SebastianM6L@mastodon.social avatar

Anyone had an issue with from django.test import Client causing a high memory usage in a docker container?

I run the tests in a pipeline using a agent in .

When this test runs:

def test_login_user(self):  
 c = Client()  
 response = c.post('/user/login/', {'email': 'test1@test.de', 'password': 'test123'})  
self.assertEqual(response.status_code, 302)  

The memory usage goes thru the roof. Literally using up all memory until it crashes.

jack, to django
@jack@social.jacklinke.com avatar

I finally got around to upgrading my main project from Django 4.2 to Django 5.

I allocated several hours this evening for the arduous process of making sure I got everything right, and before I got started I figured I'd give django-upgrade (by @adamchainz) a try this time around.

No more than 15 minutes later my project was running on Django 5, tested good, and pushed to production.

Wait, what?!?! 😲

Super impressed with how easy django-upgrade made it ❤️

https://pypi.org/project/django-upgrade/

dlesieur, to python
@dlesieur@fosstodon.org avatar

Hello! I'm David, an experienced builder of web applications and information systems primarily for the scientific research sector.

I enjoy the challenge of complex problems, which I strive to solve with simple and elegant solutions, placing the end user at the core of my analyses.

I have many interests in life, but on Mastodon I will primarily focus on topics related to my work, such as , , , , , , , .

erinc, to python
@erinc@mastodon.social avatar

After an 8-year break from web development, I evaluated modern tech stacks to build my personal projects in 2024. This post chronicles my journey in selecting the perfect combination of backend, frontend, database, and hosting.

https://erinc.ca/tech-stack-2024

jack, to django
@jack@social.jacklinke.com avatar

I have a custom django model field in an installable standalone app.

This app has a migration file that creates a new composite type in a postgres db (if it doesn't already exist). Users installing the app shouldn't have to manually run this migration.

Anyone know how I tell django's migrations autodetector that if another app's model uses my custom model field and we generate migrations model, it needs to add a dependency to the migration associated with the custom field? 🤔

SebastianM6L, to django
@SebastianM6L@mastodon.social avatar

Why isn't

Model.objects.get_or_none()

a thing in ?

That would save some boilerplate code or am I wrong?

Because if there is a chance that there is no entry for the query get()will raise a DoesNotExist exception that you have to catch.

get_or_none()would be cleaner in my opinion.

chipx86, to Discord
@chipx86@mastodon.online avatar

Hey, developers: The @reviewboard team's starting a new for devs to hang out, chat, and share what you're building.

https://discord.gg/saMCqHEZ

We have channels for , , / , , , and more.

You don't need to use or contribute to Review Board to hang out. (But you can follow development there, if you want.)

We hope to see people come in and hang out. The aim is a friendly, diverse community of devs.

Feel free to pass along the invite!

webology, to django
@webology@mastodon.social avatar

Hey + friends, @vossisboss and I are running a Django open space today from 2 pm to 3 pm in Room 309. Come see us.

ThePSF, to python
@ThePSF@fosstodon.org avatar

Enormous news! the Python Software Foundation now has a 5 year commitment with Fastly to deliver @pypi, us.pycon.org, and much more. We appreciate you and your continued investment in the community, Fastly!

markush,
@markush@chaos.social avatar

I'm taking the time to also thank @devs for their continued support of the @django project!

adamchainz, to django
@adamchainz@fosstodon.org avatar

I’m helping a client upgrade to django-import-export v4, and I gotta say I’m enjoying the clarity of the release notes. Every breaking change spelled out, with PR links. Thank you Matt :)

https://django-import-export.readthedocs.io/en/stable/release_notes.html

SebastianM6L, to django
@SebastianM6L@mastodon.social avatar

what is the preferred way of creating data ingestion pipelines in ?

I have a few systems where I need to invest the data from an curious what ways are preferred or considered as good vs mine 🤣

mahryekuh, to python
@mahryekuh@fosstodon.org avatar

PyGrunn, the Python and Friends conference is back tomorrow! After forgetting to RFP last year, I am happy to be back on the stage tomorrow.

The title of my talk is: "My path to becoming a Django contributor" (also suited for those who do not use Django).

Fun fact: I will be presenting at 10:15 in Camera 1, the same time and place as two years ago.

Who will I see there?

https://schedule.pygrunn.org/

mahryekuh, to django
@mahryekuh@fosstodon.org avatar

As promised by last Tuesday (woops), here is my latest article:

"What people wish they knew before becoming involved in OSS"

https://marijkeluttekes.dev/blog/articles/2024/05/16/what-people-wish-they-knew-before-becoming-involved-in-oss/

Inspired by research for my presentation for tomorrow.

Edit: I removed the follow-up source toots because they mucked up the timeline, and they're also boosted or linked in the article.

mblayman, to django
@mblayman@mastodon.social avatar

🌎 A vital aspect of web applications are the URLs that users visit. From this article, you'll come to understand how handles URLs when building a web app. https://www.mattlayman.com/understand-django/urls-lead-way/

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