/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.rasulkireev.com
| | 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...
3.8 parsecs

Travel
| |
| | greenash.net.au

[AI summary] A technical guide shows how to embed automatically resized images inline within Django blog post text using a custom template filter and image tokens.
3.1 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.
4.2 parsecs

Travel
| |
| | builtwithdjango.com

In this tutorial, we will go through the process of setting up the most basic Django project with Poetry. We will use that as a setup up for other posts and tutorials.
14.0 parsecs

Travel
|