django
Django : Do not forget Do Not Track
If you (fooly) Sail© on the Web® without Ghostery™,
this website is currently tracking you. Sad news, but there are indeed 3 widgets
(Disqus, Piwik and Twitter on the About page) that may collect data about your presence here.
Cheap debugging of PostgreSQL triggers in Django
Lately, we were hacking on PostgreSQL (PostGIS) triggers, and we quickly felt
like debugging our code... Here is a cheap and quick way of printing out
triggers variables and context through Django.
PostgreSQL server configuration
In postgresql.conf, adjust the minimum level of notice sent to the client :
Simple and funky Web map printing
Strangely, users still insist in having Web page print capabilities, mostly to
share, export or archive what they see. Even if relevant permalinks are
often acceptable, we can't always dissuade them from printing :)
Des cartes d'un autre monde, la suite
Bravo aux organisateurs !
L'édition 2012 des rencontres Django-fr a mis la barre très haut ! Ce fut un plaisir
de retrouver, ou rencontrer, autant de gens sympathiques et intéressants dans un cadre
aussi agréable :)
Des cartes d'un autre monde, la suite
Bravo aux organisateurs !
L'édition 2012 des rencontres Django-fr a mis la barre très haut ! Ce fut un plaisir
de retrouver, ou rencontrer, autant de gens sympathiques et intéressants dans un cadre
aussi agréable :)
Django Handlebars.js integration
In order to write Handlebars.js templates
in Django templates, I was gonna copy and paste for the second time
Miguel Araujo's verbatim snippet.
But since one of the Django weakness is
A quel prix devient-on vraiment pluggable ?
Cet article fait suite au mail de Chris McDonough http://groups.google.com/group/pylons-discuss/msg/b19df600ddb8be3f
Remove django form field validation errors manually
Original post at Makina Corpus
Sometimes I look for something which seems so simple and stupid that I can't imagine
it does not exist. It makes me wonder why and who is the fool. Worse, I can't be sure about my search keywords to prove me anything.
An equivalent of Django's select_related for ManyToMany and OneToMany relationships
Original post at Makina Corpus
Using an ORM simplifies and reduces greatly the amount of code to interact with databases.
Nevertheless, it can easily hide database design defects or become a source of serious performance issues.
Incredible coincidence
The day I discovered that Firefox does not behave like Chrome/IE on Ajax redirects, Firefox 7.0 is out with the fix!
https://bugzilla.mozilla.org/show_bug.cgi?id=553888
PS: a simple request.is_ajax () after a redirect() in Django highlights the problem.