django

Django : Create a QuerySet from a list, preserving order

I thought it would be an easy one, but found myself lost with 34 opened tabs
on stackoverflow...

The problem : keep it ordered

Usually, obtaining a QuerySet from a list is quite simple :

Votre notation : Aucun Moyenne : 1.1 (11 votes)
Étiquettes:

Generate office documents with Django

In our recent Django projects, we had to create documents (Libre/OpenOffice, Microsoft Office, PDF...),
and therefore created two components :

Votre notation : Aucun Moyenne : 5 (1 vote)

GeoDjango maps with Leaflet

A short introduction to web mapping with Django, using two very simple
applications: django-leaflet and django-geojson, by Makina Corpus.

Votre notation : Aucun Moyenne : 5 (1 vote)
Étiquettes:

Deploy Django projects using git push

Deploying stuff in one command is becoming the Holy Grail of development,
with currently ten times more blog articles than Medieval crusades :)

I could not miss the opportunity to write mine !

Aucun vote pour l'instant.
Étiquettes:

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.

Aucun vote pour l'instant.
Étiquettes:

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 :

Aucun vote pour l'instant.
Étiquettes:

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 :)

Aucun vote pour l'instant.

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 :)

Votre notation : Aucun Moyenne : 3 (2 votes)
Étiquettes:

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 :)

Aucun vote pour l'instant.
Étiquettes:

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

Aucun vote pour l'instant.