Poor man's multi tenancy Fixed #15089 -- Allowed contrib.sites to lookup the current site based on request.get_host() get_current_site() will now lookup the current site based on request.get_host() if the SITE_ID setting is not defined. https://github.com/django/django/commit/32c7d3c061b83e9206 ef2bf13fbc302a1998f317
Poor man's multi tenancy: your code from django.contrib.sites.shortcuts import get_current_site from threadlocals import get_tls_request request = get_tls_request() site = get_current_site(request)
Stop alle window in admin! (DIY) Fixed #22894 -- Made admin add related/raw ID fields widgets customizable Fixed #24405 -- Made admin related object JavaScript overridable
Rework loading template Fixed #15053 -- Make templates more reusable by Improving template loading algorithm to avoid extending infinite recursion Thanks to Preston Timmons
Django Fellowship program [...] ● reviewing and merging pull requests ● triaging tickets on Trac ● helping new Django contributors land patches and learn our philosophy
Aprire un Ticket https://code.djangoproject.com Cerchiamo tra i ticket già inseriti duplicati :) Cosa vogliamo fare e perchè NON scrivo una riga di codice
Test tricks # se ho cambiato a html / js # installate ultima versione selenium runtests.py selenium # Trova da quando miotest viene spaccato runtests.py bisect miotest # Trova un test che spacca miotest runtests.py pair miotest
Test like a pro djangocore-box: tutte le versioni di python, tutti i db in vm https://github.com/jphalip/djangocore-box djangocore-docker: pgsql + python in un container https://github.com/PirosB3/djangocore-docker