You should concentrate on a few essential ideas as a beginning studying Django in order to establish a strong foundation. It's crucial to remember that learning Django entails building projects. You will be able to practice these ideas and become proficient in Django development by following tutorials, reviewing the official documentation, and working on small projects. 😀 #webdevelopment#django#pythonprogramming#backenddevelopment
We (Charlton Gibson @carlton , Aaron Basset @aaronbassett , Cheuk Ho @cheukting_ho and I) are taking off from Florence to Edinburgh for DjangoCon Europe 2023 @djangoconeurope 🏴
We've spent the last days at PyCon Italia @pycon 🇮🇹
Sometimes all it takes is a little copy and paste. That's why in this article we won't focus on password policies in general, but rather give you a reasonable default for Django with all the explanations you need to customize it for your project.
Current #Django state: trying to stay content with using __in=subquery (which works) vs. spending more time figuring out how to retrieve the same information by following foreign keys.
Unicorn adds reactive component functionality to your #Django templates without having to learn a new templating language or fight with complicated #JavaScript frameworks.
Start creating a modern web experience with Django today!
I've still been working on Unicorn, but it's been a while since there was a new release. But, there are lots of fixes in 0.51.1 to make building interactive Django websites even more magical! ✨
I've likely said this about 20 times this week but, it's just SO exciting to see folks starting to pick up Django 4.2 async streaming responses 🤩 #django
It uses the HTMX SSE extension to handle events generated using PostgreSQL LISTEN/NOTIFY.
The result is a bit hacky but it works...while I had to deal with the usual head-scratching over async, it's much simpler than the usual channels/redis setup.
Very awesome 🕶️ @valberg wrote up a super blog post about using the new StreamingHttpResponse in #Django 4.2, combined with async psycopg3 and #postgresql's "LISTEN/NOTIFY" to have async real time events!
Stickers have arrived! So. Many. Stickers.
(Plus some special Scottish ones that you'll just have to wait to see in Edinburgh 🏴 🦄) #django#djangoconeurope
Over on the Awesome-PyHAT discussion, just learned about Django Requests Tracker, which uses some htmx under the hood and builds upon the already great Django Debug Toolbar.
It's mainly geared toward Django API development, but provides similar info on requests, responses, SQL queries, headers, settings, and more...
It has very sleek search, sorting, and filtering options (see the vid in the readme), all hypermedia driven.
I've just written a #Django async view returning a StreamingHttpResponse which streams the results of PostgreSQL LISTEN/NOTIFY messages as Server Sent Events. The future is now, using old tech. All thanks to Django 4.2 and psycopg 3 🫶
Thanks to Lily Foote @lilyf 🎁 🎆 for a humongous effort working on database defaults in Django 5.0! 🎉 18 years after the ticket was created 🧓 Django 5.0 supports database defaults 🌟
.. and we still have 4 months to the Django 5.0 feature freeze 🔥