/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.argpar.se
| | gist.github.com

reverse m2m widget in django admin. GitHub Gist: instantly share code, notes, and snippets.
2.9 parsecs

Travel
| |
| | kenan7.com

Enhance Django admin with a symmetrical ManyToMany filter widget for a consistent and user-friendly experience. Improve UI and UX with this guide
3.2 parsecs

Travel
| |
| | fuller.li

[AI summary] A technical guide explaining how to customize the Django admin panel to pre-populate author and site fields based on the current user and request.
2.4 parsecs

Travel
| |
| | www.laceyhenschel.com

Sometimes the endpoints you get when you use a ModelViewSet aren't enough and you need to add extra endpoints for custom functions. To do this, you could use the APIView class and add a custom route to your `urls.py` file, and that would work fine. But if you have a viewset already, and you feel like this new endpoint belongs with the other endpoints in your viewset, you can use DRF's @action decorator to add a custom endpoint. This means you don't have to change your urls.py -- the method you decorate w...
27.3 parsecs

Travel
|