/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

greenash.net.au
| | jinyuz.dev

I was working on a multi-tenant project and encountered a bug when using Django's GenericForeignKey with django-tenants. It was using the public schema's contenttype_id instead of the tenant schema's contenttype_id. So, if I have a model of Comment, my django_content_type table would have something like public.django_content_type id app_label model 15 comments comment tenant.django_content_type id app_label model 19 comments comment There shouldn't be a problem here since django-tenants should handle thi...
2.2 parsecs

Travel
| |
| | gist.github.com

reverse m2m widget in django admin. GitHub Gist: instantly share code, notes, and snippets.
1.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
2.1 parsecs

Travel
| |
| | geoff.tuxpup.com

How I Start: Django, Tailwind, HTMX (part 1) I wanted to try out some "modern" front-end development for a while, and I did. FastAPI is great. So is Svelte. But even though I found creating APIs that way to be a breeze, building a whole site that way felt much slower and heavier than using traditional server rendering. So I decided to give django a fair shake for a while, and I'm glad I did.
15.5 parsecs

Travel
|