/explore
|
You are here |
gist.github.com | ||
| | | | |
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 |
|
| | | | | ||
| | | | |
bitofpixels.com
I recently integrated Django Sendfile with a website to provide downloads that required authentication (even knowing the location of an authentication requiring file in the static directory will not allow you to download it thanks to some Apache conf magic). |
|
| | | | | ||
| | | | |
www.rasulkireev.com
Whenever you building a site with Django that will have user authentication, it is recommended to create a Custom User Model, before the first migration. Sometimes you forget to do that. In this case you have to follow a strict procedure, which I'll show you in the post. |
|
| | | | | ||
| | | | |
adamj.eu
Within Django's popular admin site, you can override ModelAdmin.get_queryset() to customize the queryset used by the admin views. It's often used for performance optimizations, such as adding a select_related() call to batch-fetch related objects: |
|
| | | |||