![Community banner](https://programming.dev/pictrs/image/7f6528ae-75ce-465a-81fe-fe51c300ff2d.png)
![django](https://programming.dev/pictrs/image/1288cc77-0d63-4f16-882b-9836777a6eb1.png?format=webp&thumbnail=48)
Django
- Django bugfix releases issued: 5.0.6 and 4.2.13www.djangoproject.com Django bugfix releases issued: 5.0.6 and 4.2.13
Posted by Natalia Bidart on May 7, 2024
- Django Classy Docs [for django.db.models]
Via https://mastodon.social/@EmmaDelescolle/112650193871139643
- radiac/nanodjango: Run Django models and views from a single file, and convert it to a full project.github.com GitHub - radiac/nanodjango: Run Django models and views from a single file, and convert it to a full project.
Run Django models and views from a single file, and convert it to a full project. - radiac/nanodjango
Via https://mastodon.cloud/@radiac/112641898082821618
> In my experience flask is great until it isn't - I've seen quite a few projects which outgrew it, and the lack of django's batteries and guard rails left a maintenance nightmare. Not sure if it'll be helpful, but as a result I wrote nanodjango, which lets you write a django site in a single file, then convert it to a full project if you outgrow it.
- DEFNA | DjangoCon US: Call for Venue Proposal 2025www.defna.org Django Events Foundation North America | DjangoCon US: Call for Venue Proposal 2025
We’re in the middle of planning DjangoCon US 2024, so it’s time to think about 2025! Where will we be next year? We need your help in making that decision!
DEFNA: Django Events Foundation North America
Via Django News #238
- Nested Subquerys in Django - Software Craftssoftwarecrafts.co.uk Nested Subquerys in Django - Software Crafts
Improving the performance of a complex page and removing multiple N+1 issues
- Optimal SQLite settings for Djangogcollazo.com Optimal SQLite settings for Django
Requires: Django >= 5.1a1 (currently in alpha)Last updated: 2024-06-12 There’s plenty of information out there on how to scale Django to handle numerous requests per second, but most of it…
Via https://mastodon.social/@gcollazo/112606165516489513
- pikhovkin/django-schema-viewer: Visualizes a DB schema based on Django modelsgithub.com GitHub - pikhovkin/django-schema-viewer: Visualizes a DB schema based on Django models
Visualizes a DB schema based on Django models. Contribute to pikhovkin/django-schema-viewer development by creating an account on GitHub.
- Django CMS vs Wagtail
I've used django CMS for a few projects and I'm quite happy with it. I've been wondering what wagtail has to offer that sets it apart from django CMS. I installed it some time ago but didn't dive very deep.
So what are the strengths and weaknesses of both systems?
- [Accepted] Django Enhancement Proposal 14: Background Workerswww.djangoproject.com Django Enhancement Proposal 14: Background Workers
Posted by Benjamin Balder Bach, Cory Zue, Carlton Gibson on May 29, 2024
DEP-0014: https://github.com/django/deps/blob/main/accepted/0014-background-workers.rst Reference implementation: https://github.com/RealOrangeOne/django-tasks Author: https://mastodon.theorangeone.net/@jake
- I made a thing: "django-cool-urls"danielquinn.org django-cool-urls
It's taken the better part of six months, working a few hours in the evenings when I can scratch the time together, but my latest …
- Django bugfix releases issued: 5.0.5 and 4.2.12www.djangoproject.com Django bugfix releases issued: 5.0.5 and 4.2.12
Posted by Sarah Boyce on May 6, 2024
- How to Add a Text Filter to Django Adminhakibenita.com How to Add a Text Filter to Django Admin
How we made Django admin faster by adding a new type of filter
I ran across this while looking for tools to provide something like the
raw_id_fields
widget in Django's list admin view. This post is a few years old at this point, but I think the solution it contains still works pretty well (caveat: I haven't tried it yet).I also enjoyed the author's take on the conversation with support. I can definitely relate to that.
- New goodies in Django 5.0
This article is several months old, but if you're like me and missed some of the new changes, it was a nice surprise, with things like generated fields and fields with database default values (as opposed to the existing Python default values).
- Django News #226 (5 April 2024)django-news.com Django 5.0.4 bugfix release
New PRs to Django core, new Django jobs, ASGI deployment options, accessibility checklist, and more.
- Django: Write-up on optimizing the system check framework - Adam Johnsonadamj.eu Django: Write-up on optimizing the system check framework - Adam Johnson
Django’s system check framework provides fantastic protection for configuration mishaps. It’s like a targeted linter that runs when you start Django commands. It takes advantage of runtime setup to inspect the true state rather than infer it from the source.
Via Django News #225
- Django News #225 (29 March 2024)django-news.com 🎉 Sarah
Djangonaut Space debrief, Flask-like Django in a single file, optimzing the system check framework, and more.
- How Does Django's StreamingHttpResponse Work, Exactly? – Andrew Brookinsandrewbrookins.com How Does Django's StreamingHttpResponse Work, Exactly? – Andrew Brookins
This post tries to explain just what goes on when you use Django’s StreamingHttpResponse.
- Speed up Django's collectstatic command with Collectfasta - JasonGijasongi.com Speed up Django's collectstatic command with Collectfasta - JasonGi
Django’s collectstatic command (added in Django 1.3 – March 23, 2011) was designed for storage backends where file retrieval was cheap because it was on your local disk. In Django 1.4 (March 23, 2012) Django introduced CachedStaticFilesStorage which would append md5 hashes to the end of files so tha...
Also via Django News #224
The code: https://github.com/jasongi/collectfasta
- Django REST framework: 3.15 Announcementwww.django-rest-framework.org 3.15 Announcement - Django REST framework
Django, API, REST, 3.15 Announcement
Via the excellent Django News #224
- Structlog With Django Is Awesome!
via https://freeradical.zone/@loop0/112050005365112445
- Choosing the Right Python and Django Versions for Your Projectsmicro.webology.dev Choosing the Right Python and Django Versions for Your Projects
When deciding when to adopt a new major or minor Python or Django version, I prefer to wait until the 3rd or 4th patch release because reliability significantly improves. Python and Django {major}.{minor}.{patch>2} releases are always more stable than {patch<3} releases. Understanding Version Number...
via https://mastodon.social/@webology/112038739632429145
- Django security releases issued: 5.0.3, 4.2.11, and 3.2.25www.djangoproject.com Django security releases issued: 5.0.3, 4.2.11, and 3.2.25
Posted by Mariusz Felisiak on March 4, 2024
- Looking for feedback/review on my project starter template (DRF + Nuxt + Docker compose)github.com GitHub - pcouy/drf-nuxt-template: An opinionated Django project template including DRF for the back-end, Nuxt for the front-end and docker-compose files
An opinionated Django project template including DRF for the back-end, Nuxt for the front-end and docker-compose files - pcouy/drf-nuxt-template
publication croisée depuis : https://lemmy.pierre-couy.fr/post/350920
> I am trying to come-up with a reusable template to quickly start new projects using my prefered tools and frameworks, and I'm happy with what I got. However, using Docker is quite new for me and I've probably done some weird or unconventional stuff in my
docker-compose.yml
or myDockerfile
s. I'd love to learn from people with more experience with Docker, so feel free to tell me everything that is wrong with my setup. > > I'm more confident about the stuff I did with Python/Django and Nuxt, but all criticism is welcome. This also applies to the readme : I'd like to provide detailed instructions about working with this project template, so please report anything that is unclear or missing. > > Thank you to anyone who takes the time to check it out and help me make this useful to as many people as possible. - Django: show me the SQLb0uh.github.io Django: show me the SQL - Thomas Loiret - Random thoughts
6 different ways to see the SQL generated by Django.
via https://mamot.fr/@b0uh/112008964213028547
- The simplest way to add Tailwind CSS to Django 💨www.photondesigner.com The simplest way to add Tailwind CSS to Django 💨
How to use Tailwind CSS with Django
via https://mastodon.social/@python_discussions/112007884021380487
- Joining the Django community on Mastodonadamj.eu Django: Join the community on Mastodon - Adam Johnson
Mastodon is a Twitter-like social network with a solid Django community presence. It’s a fantastic online arena for connecting with others, discovering news, discussing issues, and sharing FOMO-inducing conference photos.
via https://fosstodon.org/@adamchainz/111909379907107148
- toastdriven/django-microapi: A tiny library to make writing CBV-based APIs easier in Django.github.com GitHub - toastdriven/django-microapi: A tiny library to make writing CBV-based APIs easier in Django.
A tiny library to make writing CBV-based APIs easier in Django. - GitHub - toastdriven/django-microapi: A tiny library to make writing CBV-based APIs easier in Django.
Via https://mastodon.social/@daniellindsley/111507426102286907
- Upgrade Django [a cheatsheet]upgradedjango.com Upgrade Django
Info on currently supported versions of Django and tips on upgrading to newer releases. Find when old versions were released and information on what was in each release.
- Django Blogs - Directory of Django bloggers
> Also used as source for https://djangofeeds.com/
via https://iosdev.space/@nemecek_f/111888921284149938
- How to test with Django and pytest fixturesmicro.webology.dev How to test with Django and pytest fixtures
Here are some notes on how I like to write tests for a Django app that tests a model down to a view. Django Model + pytest Fixture This part is a mouthful, but I prefer to use the Model Bakery library to automatically create instances of Django models (aka a fixture) with good test data instead of m...
via https://mastodon.social/@webology/111882761328993606
- Django security releases issued: 5.0.2, 4.2.10, and 3.2.24www.djangoproject.com Django security releases issued: 5.0.2, 4.2.10, and 3.2.24
Posted by Natalia Bidart on February 6, 2024
- 20 Django Packages That I Use in Every Projectlearndjango.com 20 Django Packages That I Use in Every Project
An opinionated list of Django third-party packages that I use to add more features to any Django web project.
> A perennial topic but here’s my list of 20 Django third-party packages I use in almost every project.
via https://fosstodon.org/@wsvincent/111877436564729345
- Django Debugging Bookmarklet Trickwww.revsys.com Django Debugging Bookmarklet Trick
A little bookmarklet that redirects you from the current page to the same path on http://localhost:8000/. Helpful when debugging Django.
via https://frankwiles.social/@frank/111846065845176197